[][src]Trait gio::prelude::FileExtManual

pub trait FileExtManual: Sized {
    fn replace_contents_async<B: AsRef<[u8]> + Send + 'static, R: FnOnce(Result<(B, GString), (B, Error)>) + Send + 'static, C: IsA<Cancellable>>(
        &self,
        contents: B,
        etag: Option<&str>,
        make_backup: bool,
        flags: FileCreateFlags,
        cancellable: Option<&C>,
        callback: R
    );
fn replace_contents_async_future<B: AsRef<[u8]> + Send + 'static>(
        &self,
        contents: B,
        etag: Option<&str>,
        make_backup: bool,
        flags: FileCreateFlags
    ) -> Pin<Box<dyn Future<Output = Result<(B, GString), (B, Error)>> + 'static>>; }

Required methods

fn replace_contents_async<B: AsRef<[u8]> + Send + 'static, R: FnOnce(Result<(B, GString), (B, Error)>) + Send + 'static, C: IsA<Cancellable>>(
    &self,
    contents: B,
    etag: Option<&str>,
    make_backup: bool,
    flags: FileCreateFlags,
    cancellable: Option<&C>,
    callback: R
)

fn replace_contents_async_future<B: AsRef<[u8]> + Send + 'static>(
    &self,
    contents: B,
    etag: Option<&str>,
    make_backup: bool,
    flags: FileCreateFlags
) -> Pin<Box<dyn Future<Output = Result<(B, GString), (B, Error)>> + 'static>>

Loading content...

Implementors

impl<O: IsA<File>> FileExtManual for O[src]

Loading content...