[][src]Trait gio::prelude::OutputStreamExtManual

pub trait OutputStreamExtManual: Sized + OutputStreamExt {
    fn write_async<'a, B: AsRef<[u8]> + Send + 'static, P: Into<Option<&'a Cancellable>>, Q: FnOnce(Result<(B, usize), (B, Error)>) + Send + 'static>(
        &self,
        buffer: B,
        io_priority: Priority,
        cancellable: P,
        callback: Q
    );
fn write_all<'a, P: Into<Option<&'a Cancellable>>>(
        &self,
        buffer: &[u8],
        cancellable: P
    ) -> Result<(usize, Option<Error>), Error>;
fn write_all_async<'a, B: AsRef<[u8]> + Send + 'static, P: Into<Option<&'a Cancellable>>, Q: FnOnce(Result<(B, usize, Option<Error>), (B, Error)>) + Send + 'static>(
        &self,
        buffer: B,
        io_priority: Priority,
        cancellable: P,
        callback: Q
    )
    where
        Self: Clone
; fn into_write(self) -> OutputStreamWrite<Self> { ... } }

Required methods

fn write_async<'a, B: AsRef<[u8]> + Send + 'static, P: Into<Option<&'a Cancellable>>, Q: FnOnce(Result<(B, usize), (B, Error)>) + Send + 'static>(
    &self,
    buffer: B,
    io_priority: Priority,
    cancellable: P,
    callback: Q
)

fn write_all<'a, P: Into<Option<&'a Cancellable>>>(
    &self,
    buffer: &[u8],
    cancellable: P
) -> Result<(usize, Option<Error>), Error>

fn write_all_async<'a, B: AsRef<[u8]> + Send + 'static, P: Into<Option<&'a Cancellable>>, Q: FnOnce(Result<(B, usize, Option<Error>), (B, Error)>) + Send + 'static>(
    &self,
    buffer: B,
    io_priority: Priority,
    cancellable: P,
    callback: Q
) where
    Self: Clone

Loading content...

Provided methods

fn into_write(self) -> OutputStreamWrite<Self>

Loading content...

Implementors

impl<O: IsA<OutputStream>> OutputStreamExtManual for O[src]

Loading content...