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
Auto Trait Implementations
impl RefUnwindSafe for BoxMetadata
impl Send for BoxMetadata
impl Sync for BoxMetadata
impl Unpin for BoxMetadata
impl UnwindSafe for BoxMetadata
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,