pub struct PfsImage<'a> {
pub data: &'a [u8],
pub ekpfs: &'a [u8],
}Expand description
The embedded PFS image and its encryption key, returned by Pkg::get_pfs_image().
Fields§
§data: &'a [u8]The raw PFS image bytes.
ekpfs: &'a [u8]The EKPFS key needed to decrypt and open the PFS.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for PfsImage<'a>
impl<'a> RefUnwindSafe for PfsImage<'a>
impl<'a> Send for PfsImage<'a>
impl<'a> Sync for PfsImage<'a>
impl<'a> Unpin for PfsImage<'a>
impl<'a> UnwindSafe for PfsImage<'a>
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