#[repr(u64)]pub enum SynchronousPacketTypeBits {
Hv1Allowed = 1,
Hv2Allowed = 2,
Hv3Allowed = 4,
Ev3Allowed = 8,
Ev4Allowed = 16,
Ev5Allowed = 32,
No2Ev3Allowed = 64,
No3Ev3Allowed = 128,
No2Ev5Allowed = 256,
No3Ev5Allowed = 512,
}Variants§
Hv1Allowed = 1
Hv2Allowed = 2
Hv3Allowed = 4
Ev3Allowed = 8
Ev4Allowed = 16
Ev5Allowed = 32
No2Ev3Allowed = 64
No3Ev3Allowed = 128
No2Ev5Allowed = 256
No3Ev5Allowed = 512
Trait Implementations§
Source§impl Clone for SynchronousPacketTypeBits
impl Clone for SynchronousPacketTypeBits
Source§fn clone(&self) -> SynchronousPacketTypeBits
fn clone(&self) -> SynchronousPacketTypeBits
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 SynchronousPacketTypeBits
impl Debug for SynchronousPacketTypeBits
Source§impl From<&SynchronousPacketTypeBits> for u16
impl From<&SynchronousPacketTypeBits> for u16
Source§fn from(value: &SynchronousPacketTypeBits) -> Self
fn from(value: &SynchronousPacketTypeBits) -> Self
Converts to this type from the input type.
Source§impl From<SynchronousPacketTypeBits> for i32
impl From<SynchronousPacketTypeBits> for i32
Source§fn from(value: SynchronousPacketTypeBits) -> Self
fn from(value: SynchronousPacketTypeBits) -> Self
Converts to this type from the input type.
Source§impl From<SynchronousPacketTypeBits> for i64
impl From<SynchronousPacketTypeBits> for i64
Source§fn from(value: SynchronousPacketTypeBits) -> Self
fn from(value: SynchronousPacketTypeBits) -> Self
Converts to this type from the input type.
Source§impl From<SynchronousPacketTypeBits> for u16
impl From<SynchronousPacketTypeBits> for u16
Source§fn from(value: SynchronousPacketTypeBits) -> Self
fn from(value: SynchronousPacketTypeBits) -> Self
Converts to this type from the input type.
Source§impl From<SynchronousPacketTypeBits> for u32
impl From<SynchronousPacketTypeBits> for u32
Source§fn from(value: SynchronousPacketTypeBits) -> Self
fn from(value: SynchronousPacketTypeBits) -> Self
Converts to this type from the input type.
Source§impl From<SynchronousPacketTypeBits> for u64
impl From<SynchronousPacketTypeBits> for u64
Source§fn from(value: SynchronousPacketTypeBits) -> Self
fn from(value: SynchronousPacketTypeBits) -> Self
Converts to this type from the input type.
Source§impl Hash for SynchronousPacketTypeBits
impl Hash for SynchronousPacketTypeBits
Source§impl TryFrom<u16> for SynchronousPacketTypeBits
impl TryFrom<u16> for SynchronousPacketTypeBits
impl Copy for SynchronousPacketTypeBits
impl Eq for SynchronousPacketTypeBits
impl StructuralPartialEq for SynchronousPacketTypeBits
Auto Trait Implementations§
impl Freeze for SynchronousPacketTypeBits
impl RefUnwindSafe for SynchronousPacketTypeBits
impl Send for SynchronousPacketTypeBits
impl Sync for SynchronousPacketTypeBits
impl Unpin for SynchronousPacketTypeBits
impl UnwindSafe for SynchronousPacketTypeBits
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more