pub struct Directory<E: Debug, IO: IO<Error = E>> { /* private fields */ }
Implementations§
Source§impl<E: Debug, IO: IO<Error = E>> Directory<E, IO>
impl<E: Debug, IO: IO<Error = E>> Directory<E, IO>
Sourcepub fn walk<H>(&mut self, h: H) -> Result<Option<EntrySet>, Error<E>>
pub fn walk<H>(&mut self, h: H) -> Result<Option<EntrySet>, Error<E>>
Walk through directory, including not inuse entries
Sourcepub fn find(&mut self, name: &str) -> Result<Option<EntrySet>, Error<E>>
pub fn find(&mut self, name: &str) -> Result<Option<EntrySet>, Error<E>>
Find a file or directory matching specified name
Sourcepub fn touch(
&mut self,
datetime: DateTime,
opts: TouchOptions,
) -> Result<(), Error<E>>
pub fn touch( &mut self, datetime: DateTime, opts: TouchOptions, ) -> Result<(), Error<E>>
Change current directory timestamp
Sourcepub fn open(
&mut self,
entryset: &EntrySet,
) -> Result<FileOrDirectory<E, IO>, Error<E>>
pub fn open( &mut self, entryset: &EntrySet, ) -> Result<FileOrDirectory<E, IO>, Error<E>>
Open a file or directory
Trait Implementations§
Auto Trait Implementations§
impl<E, IO> Freeze for Directory<E, IO>
impl<E, IO> !RefUnwindSafe for Directory<E, IO>
impl<E, IO> !Send for Directory<E, IO>
impl<E, IO> !Sync for Directory<E, IO>
impl<E, IO> Unpin for Directory<E, IO>
impl<E, IO> !UnwindSafe for Directory<E, IO>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more