#[repr(C)]pub struct ManifestUsageConstraints {
pub selector_bits: u32,
pub device_id: LifecycleDeviceId,
pub manuf_state_creator: u32,
pub manuf_state_owner: u32,
pub life_cycle_state: u32,
}
Expand description
Manifest usage constraints.
Fields§
§selector_bits: u32
§device_id: LifecycleDeviceId
§manuf_state_creator: u32
§manuf_state_owner: u32
§life_cycle_state: u32
Trait Implementations§
Source§impl Debug for ManifestUsageConstraints
impl Debug for ManifestUsageConstraints
Source§impl Default for ManifestUsageConstraints
impl Default for ManifestUsageConstraints
Source§impl FromBytes for ManifestUsageConstraintswhere
u32: FromBytes,
LifecycleDeviceId: FromBytes,
impl FromBytes for ManifestUsageConstraintswhere
u32: FromBytes,
LifecycleDeviceId: FromBytes,
Source§impl FromZeros for ManifestUsageConstraintswhere
u32: FromZeros,
LifecycleDeviceId: FromZeros,
impl FromZeros for ManifestUsageConstraintswhere
u32: FromZeros,
LifecycleDeviceId: FromZeros,
Source§impl IntoBytes for ManifestUsageConstraints
impl IntoBytes for ManifestUsageConstraints
§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 ManifestUsageConstraintswhere
u32: TryFromBytes,
LifecycleDeviceId: TryFromBytes,
impl TryFromBytes for ManifestUsageConstraintswhere
u32: TryFromBytes,
LifecycleDeviceId: TryFromBytes,
§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 ManifestUsageConstraintswhere
u32: Immutable,
LifecycleDeviceId: Immutable,
Auto Trait Implementations§
impl Freeze for ManifestUsageConstraints
impl RefUnwindSafe for ManifestUsageConstraints
impl Send for ManifestUsageConstraints
impl Sync for ManifestUsageConstraints
impl Unpin for ManifestUsageConstraints
impl UnwindSafe for ManifestUsageConstraints
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