Enum flic_rust_client::LatencyMode
source · #[repr(u8)]pub enum LatencyMode {
NormalLatency = 0,
LowLatency = 1,
HighLatency = 2,
}Variants§
Trait Implementations§
source§impl Clone for LatencyMode
impl Clone for LatencyMode
source§fn clone(&self) -> LatencyMode
fn clone(&self) -> LatencyMode
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 LatencyMode
impl Debug for LatencyMode
source§impl From<LatencyMode> for u8
impl From<LatencyMode> for u8
source§fn from(enum_value: LatencyMode) -> Self
fn from(enum_value: LatencyMode) -> Self
Converts to this type from the input type.
source§impl Hash for LatencyMode
impl Hash for LatencyMode
source§impl PartialEq for LatencyMode
impl PartialEq for LatencyMode
source§fn eq(&self, other: &LatencyMode) -> bool
fn eq(&self, other: &LatencyMode) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl TryFrom<u8> for LatencyMode
impl TryFrom<u8> for LatencyMode
§type Error = TryFromPrimitiveError<LatencyMode>
type Error = TryFromPrimitiveError<LatencyMode>
The type returned in the event of a conversion error.
source§impl TryFromPrimitive for LatencyMode
impl TryFromPrimitive for LatencyMode
type Primitive = u8
type Error = TryFromPrimitiveError<LatencyMode>
const NAME: &'static str = "LatencyMode"
fn try_from_primitive( number: Self::Primitive ) -> Result<Self, TryFromPrimitiveError<Self>>
impl Copy for LatencyMode
impl Eq for LatencyMode
impl StructuralPartialEq for LatencyMode
Auto Trait Implementations§
impl RefUnwindSafe for LatencyMode
impl Send for LatencyMode
impl Sync for LatencyMode
impl Unpin for LatencyMode
impl UnwindSafe for LatencyMode
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