Struct box_format::BoxMetadata[][src]

pub struct BoxMetadata { /* fields omitted */ }

Implementations

impl BoxMetadata[src]

pub fn iter(&self) -> Records<'_>[src]

pub fn root_records(&self) -> Vec<(Inode, &Record)>[src]

pub fn records(&self, dir_record: &DirectoryRecord) -> Vec<(Inode, &Record)>[src]

pub fn inode(&self, path: &BoxPath) -> Option<Inode>[src]

pub fn record(&self, inode: Inode) -> Option<&Record>[src]

pub fn record_mut(&mut self, inode: Inode) -> Option<&mut Record>[src]

pub fn insert_record(&mut self, record: Record) -> Inode[src]

pub fn attr<S: AsRef<str>>(&self, path: &BoxPath, key: S) -> Option<&[u8]>[src]

pub fn file_attrs<'a>(&'a self) -> BTreeMap<&'a str, AttrValue<'a>>[src]

pub fn file_attr<S: AsRef<str>>(&self, key: S) -> Option<&Vec<u8>>[src]

pub fn attr_key(&self, key: &str) -> Option<usize>[src]

pub fn attr_key_or_create(&mut self, key: &str) -> usize[src]

Trait Implementations

impl Debug for BoxMetadata[src]

impl Default for BoxMetadata[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.