pub struct PolicyDefaults {
pub remote_read_timeout_ms: u64,
}Expand description
Instance defaults consulted during resolution.
Fields§
§remote_read_timeout_ms: u64Instance remote read budget in milliseconds, used when neither the operation nor the overlay sets one. Zero selects the library default of 50 ms.
Trait Implementations§
Source§impl Clone for PolicyDefaults
impl Clone for PolicyDefaults
Source§fn clone(&self) -> PolicyDefaults
fn clone(&self) -> PolicyDefaults
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PolicyDefaults
Source§impl Debug for PolicyDefaults
impl Debug for PolicyDefaults
Source§impl Default for PolicyDefaults
impl Default for PolicyDefaults
impl Eq for PolicyDefaults
Source§impl PartialEq for PolicyDefaults
impl PartialEq for PolicyDefaults
Source§fn eq(&self, other: &PolicyDefaults) -> bool
fn eq(&self, other: &PolicyDefaults) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PolicyDefaults
Auto Trait Implementations§
impl Freeze for PolicyDefaults
impl RefUnwindSafe for PolicyDefaults
impl Send for PolicyDefaults
impl Sync for PolicyDefaults
impl Unpin for PolicyDefaults
impl UnsafeUnpin for PolicyDefaults
impl UnwindSafe for PolicyDefaults
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.