pub trait FileEnumeratorImplExt: FileEnumeratorImpl {
// Provided methods
fn parent_next_file(
&self,
cancellable: Option<&Cancellable>,
) -> Result<Option<FileInfo>, Error> { ... }
fn parent_next_files_async<R: FnOnce(Result<List<FileInfo>, Error>) + 'static>(
&self,
num_files: i32,
priority: Priority,
cancellable: Option<&Cancellable>,
callback: R,
) { ... }
fn parent_next_files_future(
&self,
num_files: i32,
priority: Priority,
) -> Pin<Box<dyn Future<Output = Result<List<FileInfo>, Error>> + 'static>> { ... }
fn parent_close(
&self,
cancellable: Option<&Cancellable>,
) -> (bool, Option<Error>) { ... }
fn parent_close_async<R: FnOnce(Result<(), Error>) + 'static>(
&self,
io_priority: Priority,
cancellable: Option<&Cancellable>,
callback: R,
) { ... }
fn parent_close_future(
&self,
io_priority: Priority,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + 'static>> { ... }
}Provided Methods§
fn parent_next_file( &self, cancellable: Option<&Cancellable>, ) -> Result<Option<FileInfo>, Error>
fn parent_next_files_async<R: FnOnce(Result<List<FileInfo>, Error>) + 'static>( &self, num_files: i32, priority: Priority, cancellable: Option<&Cancellable>, callback: R, )
fn parent_next_files_future( &self, num_files: i32, priority: Priority, ) -> Pin<Box<dyn Future<Output = Result<List<FileInfo>, Error>> + 'static>>
fn parent_close( &self, cancellable: Option<&Cancellable>, ) -> (bool, Option<Error>)
fn parent_close_async<R: FnOnce(Result<(), Error>) + 'static>( &self, io_priority: Priority, cancellable: Option<&Cancellable>, callback: R, )
fn parent_close_future( &self, io_priority: Priority, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + 'static>>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.