#[repr(C)]pub struct LifecycleDeviceId {
pub device_id: [u32; 8],
}
Expand description
A type that holds the 256-bit device identifier.
Fields§
§device_id: [u32; 8]
Trait Implementations§
Source§impl Debug for LifecycleDeviceId
impl Debug for LifecycleDeviceId
Source§impl Default for LifecycleDeviceId
impl Default for LifecycleDeviceId
Source§fn default() -> LifecycleDeviceId
fn default() -> LifecycleDeviceId
Returns the “default value” for a type. Read more
Source§impl FromBytes for LifecycleDeviceId
impl FromBytes for LifecycleDeviceId
Source§impl FromZeros for LifecycleDeviceId
impl FromZeros for LifecycleDeviceId
Source§impl IntoBytes for LifecycleDeviceId
impl IntoBytes for LifecycleDeviceId
§fn as_mut_bytes(&mut self) -> &mut [u8] ⓘwhere
Self: FromBytes,
fn as_mut_bytes(&mut self) -> &mut [u8] ⓘwhere
Self: FromBytes,
Gets the bytes of this value mutably. Read more
§fn write_to(&self, dst: &mut [u8]) -> Result<(), SizeError<&Self, &mut [u8]>>where
Self: Immutable,
fn write_to(&self, dst: &mut [u8]) -> Result<(), SizeError<&Self, &mut [u8]>>where
Self: Immutable,
Source§impl TryFromBytes for LifecycleDeviceId
impl TryFromBytes for LifecycleDeviceId
§fn try_read_from_bytes(
source: &[u8],
) -> Result<Self, ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_bytes(
source: &[u8],
) -> Result<Self, ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
§fn try_read_from_prefix(
source: &[u8],
) -> Result<(Self, &[u8]), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_prefix(
source: &[u8],
) -> Result<(Self, &[u8]), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
§fn try_read_from_suffix(
source: &[u8],
) -> Result<(&[u8], Self), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_suffix(
source: &[u8],
) -> Result<(&[u8], Self), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
impl Immutable for LifecycleDeviceId
Auto Trait Implementations§
impl Freeze for LifecycleDeviceId
impl RefUnwindSafe for LifecycleDeviceId
impl Send for LifecycleDeviceId
impl Sync for LifecycleDeviceId
impl Unpin for LifecycleDeviceId
impl UnwindSafe for LifecycleDeviceId
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