pub trait FileIOStreamExt: 'static {
    // Required methods
    fn etag(&self) -> Option<GString>;
    fn query_info(
        &self,
        attributes: &str,
        cancellable: Option<&impl IsA<Cancellable>>
    ) -> Result<FileInfo, Error>;
    fn query_info_async<P: FnOnce(Result<FileInfo, Error>) + 'static>(
        &self,
        attributes: &str,
        io_priority: Priority,
        cancellable: Option<&impl IsA<Cancellable>>,
        callback: P
    );
    fn query_info_future(
        &self,
        attributes: &str,
        io_priority: Priority
    ) -> Pin<Box_<dyn Future<Output = Result<FileInfo, Error>> + 'static>>;
}

Required Methods§

source

fn etag(&self) -> Option<GString>

source

fn query_info( &self, attributes: &str, cancellable: Option<&impl IsA<Cancellable>> ) -> Result<FileInfo, Error>

source

fn query_info_async<P: FnOnce(Result<FileInfo, Error>) + 'static>( &self, attributes: &str, io_priority: Priority, cancellable: Option<&impl IsA<Cancellable>>, callback: P )

source

fn query_info_future( &self, attributes: &str, io_priority: Priority ) -> Pin<Box_<dyn Future<Output = Result<FileInfo, Error>> + 'static>>

Implementors§