#[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§impl TryFrom<u8> for LatencyMode
impl TryFrom<u8> for LatencyMode
Source§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
const NAME: &'static str = "LatencyMode"
type Primitive = u8
type Error = TryFromPrimitiveError<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 Freeze for LatencyMode
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