pub struct Image {
pub bytes: Vec<u8>,
pub fs_verity: [u8; 32],
}Expand description
A composefs EROFS image in memory, with its fs-verity digest.
Fields§
§bytes: Vec<u8>The bytes of the complete EROFS image.
fs_verity: [u8; 32]The fs-verity digest of the image (SHA-256, 4096-byte blocks, no salt).
The ostree command stores this value in the
ostree.composefs.digest.v0 key of the commit metadata.
Auto Trait Implementations§
impl Forget for Image
impl Freeze for Image
impl Move for Image
impl RefUnwindSafe for Image
impl Send for Imagewhere
RawVecInner: Send,
impl Sync for Imagewhere
RawVecInner: Sync,
impl Unpin for Image
impl UnsafeUnpin for Image
impl UnwindSafe for Imagewhere
RawVecInner: UnwindSafe,
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