Trait gio::prelude::PollableInputStreamExtManual [−][src]
pub trait PollableInputStreamExtManual: Sized { fn create_source<'a, 'b, N: Into<Option<&'b str>>, P: Into<Option<&'a Cancellable>>, F>(
&self,
cancellable: P,
name: N,
priority: Priority,
func: F
) -> Source
where
F: FnMut(&Self) -> Continue + 'static; fn read_nonblocking<'a, P: Into<Option<&'a Cancellable>>>(
&self,
buffer: &mut [u8],
cancellable: P
) -> Result<isize, Error>; }
Required Methods
fn create_source<'a, 'b, N: Into<Option<&'b str>>, P: Into<Option<&'a Cancellable>>, F>(
&self,
cancellable: P,
name: N,
priority: Priority,
func: F
) -> Source where
F: FnMut(&Self) -> Continue + 'static,
&self,
cancellable: P,
name: N,
priority: Priority,
func: F
) -> Source where
F: FnMut(&Self) -> Continue + 'static,
fn read_nonblocking<'a, P: Into<Option<&'a Cancellable>>>(
&self,
buffer: &mut [u8],
cancellable: P
) -> Result<isize, Error>
&self,
buffer: &mut [u8],
cancellable: P
) -> Result<isize, Error>
Implementors
impl<O: IsA<PollableInputStream> + Clone + 'static> PollableInputStreamExtManual for O