Trait PollableOutputStreamExtManual

Source
pub trait PollableOutputStreamExtManual {
    // Required method
    fn create_source<F>(
        &self,
        cancellable: Option<&Cancellable>,
        name: Option<&str>,
        priority: Priority,
        func: F,
    ) -> Source
       where F: FnMut(&Self) -> Continue + 'static;
}

Required Methods§

Source

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

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§