pub enum MsgState {
Unread,
Delivered,
Consumed,
}Expand description
Message delivery state.
Variants§
Unread
Not yet claimed by any worker.
Delivered
Claimed by exactly one worker (atomic).
Consumed
Fully processed.
Trait Implementations§
impl Copy for MsgState
Source§impl<'de> Deserialize<'de> for MsgState
impl<'de> Deserialize<'de> for MsgState
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 MsgState
impl StructuralPartialEq for MsgState
Auto Trait Implementations§
impl Freeze for MsgState
impl RefUnwindSafe for MsgState
impl Send for MsgState
impl Sync for MsgState
impl Unpin for MsgState
impl UnsafeUnpin for MsgState
impl UnwindSafe for MsgState
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