pub enum QueueWeight {
High,
Medium,
Low,
}Expand description
Queue priority weight for weighted queue selection.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for QueueWeight
impl Clone for QueueWeight
Source§fn clone(&self) -> QueueWeight
fn clone(&self) -> QueueWeight
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 QueueWeight
impl Debug for QueueWeight
Source§impl<'de> Deserialize<'de> for QueueWeight
impl<'de> Deserialize<'de> for QueueWeight
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
Source§impl Hash for QueueWeight
impl Hash for QueueWeight
Source§impl PartialEq for QueueWeight
impl PartialEq for QueueWeight
Source§impl Serialize for QueueWeight
impl Serialize for QueueWeight
impl Copy for QueueWeight
impl Eq for QueueWeight
impl StructuralPartialEq for QueueWeight
Auto Trait Implementations§
impl Freeze for QueueWeight
impl RefUnwindSafe for QueueWeight
impl Send for QueueWeight
impl Sync for QueueWeight
impl Unpin for QueueWeight
impl UnsafeUnpin for QueueWeight
impl UnwindSafe for QueueWeight
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