#[repr(C)]pub struct cose_hdr {
pub next: *mut cose_hdr,
pub key: i32,
pub len: size_t,
pub v: cose_hdr__bindgen_ty_1,
pub type_: cose_hdr_type_t,
}
Expand description
@name COSE header struct @{
Fields§
§next: *mut cose_hdr
< Next header in list
key: i32
< Header label
len: size_t
< Length of the data, only used for the byte type
v: cose_hdr__bindgen_ty_1
< Union to combine different value types
type_: cose_hdr_type_t
< Type of the header
Trait Implementations§
impl Copy for cose_hdr
Auto Trait Implementations§
impl RefUnwindSafe for cose_hdr
impl !Send for cose_hdr
impl !Sync for cose_hdr
impl Unpin for cose_hdr
impl UnwindSafe for cose_hdr
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