pub trait FileEnumeratorExt: 'static {
    fn close(
        &self,
        cancellable: Option<&impl IsA<Cancellable>>
    ) -> Result<(), Error>; fn close_async<P: FnOnce(Result<(), Error>) + 'static>(
        &self,
        io_priority: Priority,
        cancellable: Option<&impl IsA<Cancellable>>,
        callback: P
    ); fn close_future(
        &self,
        io_priority: Priority
    ) -> Pin<Box_<dyn Future<Output = Result<(), Error>> + 'static>>; fn child(&self, info: &FileInfo) -> File; fn container(&self) -> File; fn has_pending(&self) -> bool; fn is_closed(&self) -> bool; fn next_file(
        &self,
        cancellable: Option<&impl IsA<Cancellable>>
    ) -> Result<Option<FileInfo>, Error>; fn next_files_async<P: FnOnce(Result<Vec<FileInfo>, Error>) + 'static>(
        &self,
        num_files: i32,
        io_priority: Priority,
        cancellable: Option<&impl IsA<Cancellable>>,
        callback: P
    ); fn next_files_future(
        &self,
        num_files: i32,
        io_priority: Priority
    ) -> Pin<Box_<dyn Future<Output = Result<Vec<FileInfo>, Error>> + 'static>>; fn set_pending(&self, pending: bool); }

Required methods

Implementors