pub struct ProcessBinary {
pub flash: &'static [u8],
pub footers: &'static [u8],
pub header: TbfHeader<'static>,
pub credential: OptionalCell<AcceptedCredential>,
}Expand description
A process stored in flash.
Fields§
§flash: &'static [u8]Process flash segment. This is the entire region of nonvolatile flash that the process occupies.
The footers of the process binary (may be zero-sized), which are metadata about the process not covered by integrity. Used, among other things, to store signatures.
header: TbfHeader<'static>Collection of pointers to the TBF header in flash.
credential: OptionalCell<AcceptedCredential>Optional credential that was used to approve this application. This is
set if the process is checked by a credential checker and a specific
credential was used to approve this process. Otherwise this is None.
Implementations§
Source§impl ProcessBinary
impl ProcessBinary
pub fn get_credential(&self) -> Option<AcceptedCredential>
Auto Trait Implementations§
impl !Freeze for ProcessBinary
impl !RefUnwindSafe for ProcessBinary
impl Send for ProcessBinary
impl !Sync for ProcessBinary
impl Unpin for ProcessBinary
impl UnsafeUnpin for ProcessBinary
impl UnwindSafe for ProcessBinary
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