Struct riot_sys::suit_component_t
source · #[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 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