[−][src]Trait gio::prelude::InputStreamExtManual
Required methods
fn read<B: AsMut<[u8]>, C: IsA<Cancellable>>(
&self,
buffer: B,
cancellable: Option<&C>
) -> Result<usize, Error>
&self,
buffer: B,
cancellable: Option<&C>
) -> Result<usize, Error>
fn read_all<B: AsMut<[u8]>, C: IsA<Cancellable>>(
&self,
buffer: B,
cancellable: Option<&C>
) -> Result<(usize, Option<Error>), Error>
&self,
buffer: B,
cancellable: Option<&C>
) -> Result<(usize, Option<Error>), Error>
fn read_async<B: AsMut<[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
)
&self,
buffer: B,
io_priority: Priority,
cancellable: Option<&C>,
callback: Q
)
fn read_async_future<B: AsMut<[u8]> + Send + 'static>(
&self,
buffer: B,
io_priority: Priority
) -> Pin<Box<dyn Future<Output = Result<(B, usize), (B, Error)>> + 'static>>
&self,
buffer: B,
io_priority: Priority
) -> Pin<Box<dyn Future<Output = Result<(B, usize), (B, Error)>> + 'static>>
Provided methods
fn into_read(self) -> InputStreamRead<Self> where
Self: IsA<InputStream>,
Self: IsA<InputStream>,
Implementors
impl<O: IsA<InputStream>> InputStreamExtManual for O
[src]
fn read<B: AsMut<[u8]>, C: IsA<Cancellable>>(
&self,
buffer: B,
cancellable: Option<&C>
) -> Result<usize, Error>
[src]
&self,
buffer: B,
cancellable: Option<&C>
) -> Result<usize, Error>
fn read_all<B: AsMut<[u8]>, C: IsA<Cancellable>>(
&self,
buffer: B,
cancellable: Option<&C>
) -> Result<(usize, Option<Error>), Error>
[src]
&self,
buffer: B,
cancellable: Option<&C>
) -> Result<(usize, Option<Error>), Error>
fn read_async<B: AsMut<[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
)
[src]
&self,
buffer: B,
io_priority: Priority,
cancellable: Option<&C>,
callback: Q
)
fn read_async_future<'a, B: AsMut<[u8]> + Send + 'static>(
&self,
buffer: B,
io_priority: Priority
) -> Pin<Box<dyn Future<Output = Result<(B, usize), (B, Error)>> + 'static>>
[src]
&self,
buffer: B,
io_priority: Priority
) -> Pin<Box<dyn Future<Output = Result<(B, usize), (B, Error)>> + 'static>>