pub enum TimeoutAction {
DeliverAnyway,
Discard,
ReturnToSender,
Archive,
}Expand description
What to do when a temporal message times out.
Variants§
DeliverAnyway
Deliver the message even though the ideal time has passed.
Discard
Discard the message silently.
ReturnToSender
Return the message to the sender.
Archive
Archive the message for later inspection.
Trait Implementations§
Source§impl Clone for TimeoutAction
impl Clone for TimeoutAction
Source§fn clone(&self) -> TimeoutAction
fn clone(&self) -> TimeoutAction
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 TimeoutAction
Source§impl Debug for TimeoutAction
impl Debug for TimeoutAction
Source§impl Default for TimeoutAction
impl Default for TimeoutAction
Source§impl<'de> Deserialize<'de> for TimeoutAction
impl<'de> Deserialize<'de> for TimeoutAction
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for TimeoutAction
Source§impl PartialEq for TimeoutAction
impl PartialEq for TimeoutAction
Source§impl Serialize for TimeoutAction
impl Serialize for TimeoutAction
impl StructuralPartialEq for TimeoutAction
Auto Trait Implementations§
impl Freeze for TimeoutAction
impl RefUnwindSafe for TimeoutAction
impl Send for TimeoutAction
impl Sync for TimeoutAction
impl Unpin for TimeoutAction
impl UnsafeUnpin for TimeoutAction
impl UnwindSafe for TimeoutAction
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