pub enum AnchorSource {
Inbox {
parked_since: i64,
},
Message,
Neither {
newest_ms: i64,
},
}Variants§
Inbox
The anchor is a parked inbox item, parked since this time.
Message
The anchor is a stored message.
Neither
Neither holds the id: the clock is the newest message’s time.created.
Trait Implementations§
Source§impl Clone for AnchorSource
impl Clone for AnchorSource
Source§fn clone(&self) -> AnchorSource
fn clone(&self) -> AnchorSource
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 moreSource§impl Debug for AnchorSource
impl Debug for AnchorSource
impl Eq for AnchorSource
Source§impl PartialEq for AnchorSource
impl PartialEq for AnchorSource
impl StructuralPartialEq for AnchorSource
Auto Trait Implementations§
impl Freeze for AnchorSource
impl RefUnwindSafe for AnchorSource
impl Send for AnchorSource
impl Sync for AnchorSource
impl Unpin for AnchorSource
impl UnsafeUnpin for AnchorSource
impl UnwindSafe for AnchorSource
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
Checks if this value is equivalent to the given key. Read more
§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.