[][src]Struct libunftp::storage::Fileinfo

pub struct Fileinfo<P, M> where
    P: AsRef<Path>,
    M: Metadata
{ pub path: P, pub metadata: M, }

Fileinfo contains the path and Metadata of a file.

Fields

path: P

The full path to the file

metadata: M

The file's metadata

Trait Implementations

impl<P, M> Display for Fileinfo<P, M> where
    P: AsRef<Path>,
    M: Metadata
[src]

Auto Trait Implementations

impl<P, M> RefUnwindSafe for Fileinfo<P, M> where
    M: RefUnwindSafe,
    P: RefUnwindSafe

impl<P, M> Send for Fileinfo<P, M> where
    M: Send,
    P: Send

impl<P, M> Sync for Fileinfo<P, M> where
    M: Sync,
    P: Sync

impl<P, M> Unpin for Fileinfo<P, M> where
    M: Unpin,
    P: Unpin

impl<P, M> UnwindSafe for Fileinfo<P, M> where
    M: UnwindSafe,
    P: UnwindSafe

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> Erased for T

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

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

impl<T> ToString for T where
    T: Display + ?Sized
[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.