[][src]Trait gio::prelude::PollableOutputStreamExtManual

pub trait PollableOutputStreamExtManual {
    fn create_source<F, C>(
        &self,
        cancellable: Option<&C>,
        name: Option<&str>,
        priority: Priority,
        func: F
    ) -> Source
    where
        F: FnMut(&Self) -> Continue + 'static,
        C: IsA<Cancellable>
;
fn create_source_future<C: IsA<Cancellable>>(
        &self,
        cancellable: Option<&C>,
        priority: Priority
    ) -> Pin<Box<dyn Future<Output = ()> + 'static>>;
fn create_source_stream<C: IsA<Cancellable>>(
        &self,
        cancellable: Option<&C>,
        priority: Priority
    ) -> Pin<Box<dyn Stream<Item = ()> + 'static>>; fn into_async_write(self) -> Result<OutputStreamAsyncWrite<Self>, Self>
    where
        Self: IsA<PollableOutputStream>
, { ... } }

Required methods

fn create_source<F, C>(
    &self,
    cancellable: Option<&C>,
    name: Option<&str>,
    priority: Priority,
    func: F
) -> Source where
    F: FnMut(&Self) -> Continue + 'static,
    C: IsA<Cancellable>, 

fn create_source_future<C: IsA<Cancellable>>(
    &self,
    cancellable: Option<&C>,
    priority: Priority
) -> Pin<Box<dyn Future<Output = ()> + 'static>>

fn create_source_stream<C: IsA<Cancellable>>(
    &self,
    cancellable: Option<&C>,
    priority: Priority
) -> Pin<Box<dyn Stream<Item = ()> + 'static>>

Loading content...

Provided methods

fn into_async_write(self) -> Result<OutputStreamAsyncWrite<Self>, Self> where
    Self: IsA<PollableOutputStream>, 

Loading content...

Implementors

impl<O: IsA<PollableOutputStream>> PollableOutputStreamExtManual for O[src]

Loading content...