#[repr(C)]pub struct suit_component_t {
pub storage_backend: *mut suit_storage_ref_t,
pub state: u16,
pub identifier: suit_param_ref_t,
pub param_vendor_id: suit_param_ref_t,
pub param_class_id: suit_param_ref_t,
pub param_digest: suit_param_ref_t,
pub param_uri: suit_param_ref_t,
pub param_size: suit_param_ref_t,
pub param_component_offset: suit_param_ref_t,
}
Expand description
@brief SUIT component struct as decoded from the manifest
The parameters are references to CBOR-encoded information in the manifest.
Fields§
§storage_backend: *mut suit_storage_ref_t
< Storage backend used
state: u16
< Component status flags
identifier: suit_param_ref_t
< Component identifier
param_vendor_id: suit_param_ref_t
< Vendor ID
param_class_id: suit_param_ref_t
< Class ID
param_digest: suit_param_ref_t
< Payload verification digest
param_uri: suit_param_ref_t
< Payload fetch URI
param_size: suit_param_ref_t
< Payload size
param_component_offset: suit_param_ref_t
@brief Component offset inside the device memory.
Trait Implementations§
Source§impl Clone for suit_component_t
impl Clone for suit_component_t
Source§fn clone(&self) -> suit_component_t
fn clone(&self) -> suit_component_t
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 suit_component_t
impl Debug for suit_component_t
Source§impl Default for suit_component_t
impl Default for suit_component_t
impl Copy for suit_component_t
Auto Trait Implementations§
impl Freeze for suit_component_t
impl RefUnwindSafe for suit_component_t
impl !Send for suit_component_t
impl !Sync for suit_component_t
impl Unpin for suit_component_t
impl UnwindSafe for suit_component_t
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,
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 20 bytes