Trait FileOutputStreamExt

Source
pub trait FileOutputStreamExt: '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,
    );
}

Required Methods§

Source

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

Source

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

Source

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, )

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.

Implementors§