#[repr(u32)]pub enum DeviceAddressStability {
UnstableBetweenDriverRestart = 0,
UnstableBetweenBoot = 1,
UnstableBetweenSoftwareUpdate = 2,
Stable = 3,
UnknownOrdinal_(u32),
}
Variants§
UnstableBetweenDriverRestart = 0
UnstableBetweenBoot = 1
UnstableBetweenSoftwareUpdate = 2
Stable = 3
UnknownOrdinal_(u32)
Trait Implementations§
Source§impl Clone for DeviceAddressStability
impl Clone for DeviceAddressStability
Source§fn clone(&self) -> DeviceAddressStability
fn clone(&self) -> DeviceAddressStability
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 DeviceAddressStability
impl Debug for DeviceAddressStability
Source§impl Encodable for DeviceAddressStability
impl Encodable for DeviceAddressStability
Source§type Encoded = WireDeviceAddressStability
type Encoded = WireDeviceAddressStability
The wire type for the value.
§const COPY_OPTIMIZATION: CopyOptimization<Self> = _
const COPY_OPTIMIZATION: CopyOptimization<Self> = _
An optimization flag that allows the bytes of this type to be copied directly during
encoding instead of calling
encode
. Read moreSource§impl<___E> Encode<___E> for DeviceAddressStabilitywhere
___E: ?Sized,
impl<___E> Encode<___E> for DeviceAddressStabilitywhere
___E: ?Sized,
Source§impl From<DeviceAddressStability> for WireDeviceAddressStability
impl From<DeviceAddressStability> for WireDeviceAddressStability
Source§fn from(natural: DeviceAddressStability) -> Self
fn from(natural: DeviceAddressStability) -> Self
Converts to this type from the input type.
Source§impl From<WireDeviceAddressStability> for DeviceAddressStability
impl From<WireDeviceAddressStability> for DeviceAddressStability
Source§fn from(wire: WireDeviceAddressStability) -> Self
fn from(wire: WireDeviceAddressStability) -> Self
Converts to this type from the input type.
Source§impl PartialEq for DeviceAddressStability
impl PartialEq for DeviceAddressStability
Source§impl TakeFrom<WireDeviceAddressStability> for DeviceAddressStability
impl TakeFrom<WireDeviceAddressStability> for DeviceAddressStability
Source§fn take_from(from: &WireDeviceAddressStability) -> Self
fn take_from(from: &WireDeviceAddressStability) -> Self
Converts from the given
T
, taking any resources that can’t be cloned.§const COPY_OPTIMIZATION: CopyOptimization<Self> = _
const COPY_OPTIMIZATION: CopyOptimization<Self> = _
An optimization flag that allows the bytes of this type to be copied directly during
conversion instead of calling
take_from
. Read moreimpl Copy for DeviceAddressStability
impl Eq for DeviceAddressStability
impl StructuralPartialEq for DeviceAddressStability
Auto Trait Implementations§
impl Freeze for DeviceAddressStability
impl RefUnwindSafe for DeviceAddressStability
impl Send for DeviceAddressStability
impl Sync for DeviceAddressStability
impl Unpin for DeviceAddressStability
impl UnwindSafe for DeviceAddressStability
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