[][src]Trait gio::FileIOStreamExt

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

Required methods

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

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

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

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

Loading content...

Implementors

impl<O: IsA<FileIOStream>> FileIOStreamExt for O[src]

Loading content...