[−][src]Trait gio::prelude::FileEnumeratorExt
Required methods
fn close<P: IsA<Cancellable>>(
&self,
cancellable: Option<&P>
) -> Result<(), Error>
&self,
cancellable: Option<&P>
) -> Result<(), Error>
fn close_async<P: IsA<Cancellable>, Q: FnOnce(Result<(), Error>) + Send + 'static>(
&self,
io_priority: Priority,
cancellable: Option<&P>,
callback: Q
)
&self,
io_priority: Priority,
cancellable: Option<&P>,
callback: Q
)
fn close_async_future(
&self,
io_priority: Priority
) -> Pin<Box_<dyn Future<Output = Result<(), Error>> + 'static>>
&self,
io_priority: Priority
) -> Pin<Box_<dyn Future<Output = Result<(), Error>> + 'static>>
fn get_child(&self, info: &FileInfo) -> Option<File>
fn get_container(&self) -> Option<File>
fn has_pending(&self) -> bool
fn is_closed(&self) -> bool
fn next_file<P: IsA<Cancellable>>(
&self,
cancellable: Option<&P>
) -> Result<Option<FileInfo>, Error>
&self,
cancellable: Option<&P>
) -> Result<Option<FileInfo>, Error>
fn next_files_async<P: IsA<Cancellable>, Q: FnOnce(Result<Vec<FileInfo>, Error>) + Send + 'static>(
&self,
num_files: i32,
io_priority: Priority,
cancellable: Option<&P>,
callback: Q
)
&self,
num_files: i32,
io_priority: Priority,
cancellable: Option<&P>,
callback: Q
)
fn next_files_async_future(
&self,
num_files: i32,
io_priority: Priority
) -> Pin<Box_<dyn Future<Output = Result<Vec<FileInfo>, Error>> + 'static>>
&self,
num_files: i32,
io_priority: Priority
) -> Pin<Box_<dyn Future<Output = Result<Vec<FileInfo>, Error>> + 'static>>
fn set_pending(&self, pending: bool)
Implementors
impl<O: IsA<FileEnumerator>> FileEnumeratorExt for O
[src]
fn close<P: IsA<Cancellable>>(
&self,
cancellable: Option<&P>
) -> Result<(), Error>
[src]
&self,
cancellable: Option<&P>
) -> Result<(), Error>
fn close_async<P: IsA<Cancellable>, Q: FnOnce(Result<(), Error>) + Send + 'static>(
&self,
io_priority: Priority,
cancellable: Option<&P>,
callback: Q
)
[src]
&self,
io_priority: Priority,
cancellable: Option<&P>,
callback: Q
)
fn close_async_future(
&self,
io_priority: Priority
) -> Pin<Box_<dyn Future<Output = Result<(), Error>> + 'static>>
[src]
&self,
io_priority: Priority
) -> Pin<Box_<dyn Future<Output = Result<(), Error>> + 'static>>
fn get_child(&self, info: &FileInfo) -> Option<File>
[src]
fn get_container(&self) -> Option<File>
[src]
fn has_pending(&self) -> bool
[src]
fn is_closed(&self) -> bool
[src]
fn next_file<P: IsA<Cancellable>>(
&self,
cancellable: Option<&P>
) -> Result<Option<FileInfo>, Error>
[src]
&self,
cancellable: Option<&P>
) -> Result<Option<FileInfo>, Error>
fn next_files_async<P: IsA<Cancellable>, Q: FnOnce(Result<Vec<FileInfo>, Error>) + Send + 'static>(
&self,
num_files: i32,
io_priority: Priority,
cancellable: Option<&P>,
callback: Q
)
[src]
&self,
num_files: i32,
io_priority: Priority,
cancellable: Option<&P>,
callback: Q
)
fn next_files_async_future(
&self,
num_files: i32,
io_priority: Priority
) -> Pin<Box_<dyn Future<Output = Result<Vec<FileInfo>, Error>> + 'static>>
[src]
&self,
num_files: i32,
io_priority: Priority
) -> Pin<Box_<dyn Future<Output = Result<Vec<FileInfo>, Error>> + 'static>>