pub struct BootSvc {
pub header: Header,
pub message: Message,
}
Fields§
§header: Header
§message: Message
Implementations§
Source§impl BootSvc
impl BootSvc
pub fn to_bytes(&self) -> Result<Vec<u8>>
pub fn min_bl0_sec_ver(ver: u32) -> Self
pub fn next_boot_bl0_slot(primary: BootSlot, next: BootSlot) -> Self
pub fn ownership_unlock(unlock: OwnershipUnlockRequest) -> Self
pub fn ownership_activate(activate: OwnershipActivateRequest) -> Self
Trait Implementations§
Source§impl Annotate for &BootSvc
impl Annotate for &BootSvc
fn format(&self, variant: Option<&str>, field: &MemberId<'_>) -> Option<Format>
fn comment(&self, variant: Option<&str>, field: &MemberId<'_>) -> Option<String>
fn as_annotate(&self) -> Option<&dyn Annotate>
fn thunk_serialize( &self, serializer: &mut AnnotatedSerializer<'_>, ) -> Result<Document, Error>
Source§impl Annotate for BootSvc
impl Annotate for BootSvc
fn format(&self, _variant: Option<&str>, field: &MemberId<'_>) -> Option<Format>
fn comment( &self, _variant: Option<&str>, field: &MemberId<'_>, ) -> Option<String>
fn as_annotate(&self) -> Option<&dyn Annotate>
fn thunk_serialize( &self, serializer: &mut AnnotatedSerializer<'_>, ) -> Result<Document, Error>
Auto Trait Implementations§
impl Freeze for BootSvc
impl RefUnwindSafe for BootSvc
impl Send for BootSvc
impl Sync for BootSvc
impl Unpin for BootSvc
impl UnwindSafe for BootSvc
Blanket Implementations§
§impl<T> Annotate for T
impl<T> Annotate for T
default fn format( &self, _variant: Option<&str>, _field: &MemberId<'_>, ) -> Option<Format>
default fn comment( &self, _variant: Option<&str>, _field: &MemberId<'_>, ) -> Option<String>
default fn as_annotate(&self) -> Option<&dyn Annotate>
default fn thunk_serialize( &self, serializer: &mut AnnotatedSerializer<'_>, ) -> Result<Document, Error>
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