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

pub trait OutputStreamExtManual: Sized + OutputStreamExt {
    fn write_async<B: AsRef<[u8]> + Send + 'static, Q: FnOnce(Result<(B, usize), (B, Error)>) + Send + 'static, C: IsA<Cancellable>>(
        &self,
        buffer: B,
        io_priority: Priority,
        cancellable: Option<&C>,
        callback: Q
    );
fn write_all<C: IsA<Cancellable>>(
        &self,
        buffer: &[u8],
        cancellable: Option<&C>
    ) -> Result<(usize, Option<Error>), Error>;
fn write_async_future<B: AsRef<[u8]> + Send + 'static>(
        &self,
        buffer: B,
        io_priority: Priority
    ) -> Pin<Box<dyn Future<Output = Result<(B, usize), (B, Error)>> + 'static>>; fn into_write(self) -> OutputStreamWrite<Self>
    where
        Self: IsA<OutputStream>
, { ... } }

Required methods

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

fn write_all<C: IsA<Cancellable>>(
    &self,
    buffer: &[u8],
    cancellable: Option<&C>
) -> Result<(usize, Option<Error>), Error>

fn write_async_future<B: AsRef<[u8]> + Send + 'static>(
    &self,
    buffer: B,
    io_priority: Priority
) -> Pin<Box<dyn Future<Output = Result<(B, usize), (B, Error)>> + 'static>>

Loading content...

Provided methods

fn into_write(self) -> OutputStreamWrite<Self> where
    Self: IsA<OutputStream>, 

Loading content...

Implementors

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

Loading content...