pub enum EventPriority {
Critical,
Important,
BestEffort,
}Expand description
Event priority class.
Variants§
Critical
Must be delivered or cause backpressure.
Important
Should be delivered with bounded retry/ack policy.
BestEffort
Can be dropped, merged, or downgraded under pressure.
Trait Implementations§
Source§impl Clone for EventPriority
impl Clone for EventPriority
Source§fn clone(&self) -> EventPriority
fn clone(&self) -> EventPriority
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 EventPriority
Source§impl Debug for EventPriority
impl Debug for EventPriority
impl Eq for EventPriority
Source§impl PartialEq for EventPriority
impl PartialEq for EventPriority
impl StructuralPartialEq for EventPriority
Auto Trait Implementations§
impl Freeze for EventPriority
impl RefUnwindSafe for EventPriority
impl Send for EventPriority
impl Sync for EventPriority
impl Unpin for EventPriority
impl UnsafeUnpin for EventPriority
impl UnwindSafe for EventPriority
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