pub enum MessageState {
Ready,
Waiting,
Processed,
Expired,
}
Available on crate feature
aq_unstable
only.Expand description
Possible states for messages in a queue
Warning: The type is unstable. It may be changed incompatibly by minor version upgrades.
Variants§
Ready
The message is ready to be processed.
Waiting
The message is waiting for the delay time to expire.
Processed
The message has already been processed and is retained.
Expired
The message has been moved to the exception queue.
Trait Implementations§
Source§impl Clone for MessageState
impl Clone for MessageState
Source§fn clone(&self) -> MessageState
fn clone(&self) -> MessageState
Returns a copy 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 MessageState
impl Debug for MessageState
Source§impl PartialEq for MessageState
impl PartialEq for MessageState
impl Eq for MessageState
impl StructuralPartialEq for MessageState
Auto Trait Implementations§
impl Freeze for MessageState
impl RefUnwindSafe for MessageState
impl Send for MessageState
impl Sync for MessageState
impl Unpin for MessageState
impl UnwindSafe for MessageState
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