Enum box_format::Record[][src]

pub enum Record {
    File(FileRecord),
    Directory(DirectoryRecord),
    Link(LinkRecord),
}

Variants

Directory(DirectoryRecord)

Implementations

impl Record[src]

pub fn as_file(&self) -> Option<&FileRecord>[src]

pub fn as_file_mut(&mut self) -> Option<&mut FileRecord>[src]

pub fn as_directory(&self) -> Option<&DirectoryRecord>[src]

pub fn as_directory_mut(&mut self) -> Option<&mut DirectoryRecord>[src]

pub fn name(&self) -> &str[src]

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

Trait Implementations

impl Debug for Record[src]

Auto Trait Implementations

impl RefUnwindSafe for Record

impl Send for Record

impl Sync for Record

impl Unpin for Record

impl UnwindSafe for Record

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.