pub struct PuzzleFS {
pub oci: Arc<Image>,
pub verity_data: Option<BTreeMap<[u8; 32], [u8; 32]>>,
pub manifest_verity: Option<Vec<u8>>,
/* private fields */
}
Fields§
§oci: Arc<Image>
§verity_data: Option<BTreeMap<[u8; 32], [u8; 32]>>
§manifest_verity: Option<Vec<u8>>
Implementations§
Source§impl PuzzleFS
impl PuzzleFS
pub fn open( oci: Image, tag: &str, manifest_verity: Option<&[u8]>, ) -> Result<PuzzleFS, WireFormatError>
pub fn find_inode(&self, ino: u64) -> Result<Inode, WireFormatError>
pub fn lookup(&self, p: &Path) -> Result<Option<Inode>, WireFormatError>
pub fn max_inode(&self) -> Result<u64, WireFormatError>
Auto Trait Implementations§
impl !Freeze for PuzzleFS
impl !RefUnwindSafe for PuzzleFS
impl Send for PuzzleFS
impl !Sync for PuzzleFS
impl Unpin for PuzzleFS
impl UnwindSafe for PuzzleFS
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