pub struct PrefixTimeout { /* private fields */ }Expand description
Per-prefix timeout override entry.
Implementations§
Source§impl PrefixTimeout
Constructors for PrefixTimeout.
impl PrefixTimeout
Constructors for PrefixTimeout.
Source§impl PrefixTimeout
impl PrefixTimeout
pub fn get_prefix(&self) -> &String
pub fn get_timeout_ms(&self) -> u64
Trait Implementations§
Source§impl Clone for PrefixTimeout
impl Clone for PrefixTimeout
Source§impl Debug for PrefixTimeout
impl Debug for PrefixTimeout
impl Eq for PrefixTimeout
Source§impl PartialEq for PrefixTimeout
impl PartialEq for PrefixTimeout
impl StructuralPartialEq for PrefixTimeout
Auto Trait Implementations§
impl Forget for PrefixTimeout
impl Freeze for PrefixTimeout
impl Move for PrefixTimeout
impl RefUnwindSafe for PrefixTimeout
impl Send for PrefixTimeoutwhere
RawVecInner: Send,
impl Sync for PrefixTimeoutwhere
RawVecInner: Sync,
impl Unpin for PrefixTimeout
impl UnsafeUnpin for PrefixTimeout
impl UnwindSafe for PrefixTimeoutwhere
RawVecInner: UnwindSafe,
Blanket Implementations§
impl<T> AnySend for T
impl<T> AnySendClone for T
impl<T> AnySendSync for T
impl<T> AnySendSyncClone for T
impl<T> AnySync for T
impl<T> AnySyncClone for T
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.