#[repr(u8)]pub enum RakPriority {
Immediate = 0,
High = 1,
Normal = 2,
Low = 3,
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for RakPriority
impl Clone for RakPriority
Source§fn clone(&self) -> RakPriority
fn clone(&self) -> RakPriority
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 RakPriority
impl Debug for RakPriority
Source§impl Ord for RakPriority
impl Ord for RakPriority
Source§fn cmp(&self, other: &RakPriority) -> Ordering
fn cmp(&self, other: &RakPriority) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for RakPriority
impl PartialEq for RakPriority
Source§impl PartialOrd for RakPriority
impl PartialOrd for RakPriority
impl Copy for RakPriority
impl Eq for RakPriority
impl StructuralPartialEq for RakPriority
Auto Trait Implementations§
impl Freeze for RakPriority
impl RefUnwindSafe for RakPriority
impl Send for RakPriority
impl Sync for RakPriority
impl Unpin for RakPriority
impl UnsafeUnpin for RakPriority
impl UnwindSafe for RakPriority
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