pub enum DiscardReason {
Expired,
WontSurviveUntilContact,
StoreFull,
}Expand description
Reason a stored message was discarded.
Variants§
Expired
TTL expired before the message could be sent.
WontSurviveUntilContact
The message won’t survive until the next contact window.
StoreFull
The store is full and the message could not be stored.
Trait Implementations§
Source§impl Clone for DiscardReason
impl Clone for DiscardReason
Source§fn clone(&self) -> DiscardReason
fn clone(&self) -> DiscardReason
Returns a duplicate of the value. Read more
1.0.0 · 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 DiscardReason
impl Debug for DiscardReason
Source§impl PartialEq for DiscardReason
impl PartialEq for DiscardReason
impl Copy for DiscardReason
impl Eq for DiscardReason
impl StructuralPartialEq for DiscardReason
Auto Trait Implementations§
impl Freeze for DiscardReason
impl RefUnwindSafe for DiscardReason
impl Send for DiscardReason
impl Sync for DiscardReason
impl Unpin for DiscardReason
impl UnsafeUnpin for DiscardReason
impl UnwindSafe for DiscardReason
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