Trait io_trait::DirEntry

source ·
pub trait DirEntry {
    type Metadata: Metadata;

    // Required methods
    fn path(&self) -> String;
    fn metadata(&self) -> Result<Self::Metadata>;
}

Required Associated Types§

Required Methods§

source

fn path(&self) -> String

source

fn metadata(&self) -> Result<Self::Metadata>

Implementations on Foreign Types§

source§

impl DirEntry for DirEntry

§

type Metadata = Metadata

source§

fn path(&self) -> String

source§

fn metadata(&self) -> Result<Self::Metadata>

Implementors§