Skip to main content

Path

Type Alias Path 

Source
pub type Path = RelativePath;

Aliased Type§

pub struct Path { /* private fields */ }

Trait Implementations§

Source§

impl LunchboxPathUtils for Path

Source§

fn metadata<'a, 'b, 'c>( &'a self, fs: &'b impl ReadableFileSystem, ) -> BoxFuture<'c, Result<Metadata>>
where 'a: 'c, 'b: 'c,

Equivalent to Read more
Equivalent to Read more
Source§

fn canonicalize<'a, 'b, 'c>( &'a self, fs: &'b impl ReadableFileSystem, ) -> BoxFuture<'c, Result<PathBuf>>
where 'a: 'c, 'b: 'c,

Equivalent to Read more
Equivalent to Read more
Source§

fn read_dir<'a, 'b, 'c, T: ReadableFileSystem>( &'a self, fs: &'b T, ) -> BoxFuture<'c, Result<ReadDir<'b, T::ReadDirPollerType, T>>>
where 'a: 'c, 'b: 'c,

Equivalent to Read more
Source§

fn exists<'life0, 'life1, 'async_trait>( &'life0 self, fs: &'life1 (impl 'async_trait + ReadableFileSystem + MaybeSync), ) -> Pin<Box<dyn Future<Output = bool> + Send + 'async_trait>>
where Self: Sync + 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Equivalent to Read more
Source§

fn is_file<'life0, 'life1, 'async_trait>( &'life0 self, fs: &'life1 (impl 'async_trait + ReadableFileSystem + MaybeSync), ) -> Pin<Box<dyn Future<Output = bool> + Send + 'async_trait>>
where Self: Sync + 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Equivalent to Read more
Source§

fn is_dir<'life0, 'life1, 'async_trait>( &'life0 self, fs: &'life1 (impl 'async_trait + ReadableFileSystem + MaybeSync), ) -> Pin<Box<dyn Future<Output = bool> + Send + 'async_trait>>
where Self: Sync + 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Equivalent to Read more
Equivalent to Read more