[−][src]Trait gio::InputStreamExt
Required methods
fn clear_pending(&self)
fn close<P: IsA<Cancellable>>(
&self,
cancellable: Option<&P>
) -> Result<(), Error>
&self,
cancellable: Option<&P>
) -> Result<(), Error>
fn close_async<P: IsA<Cancellable>, Q: FnOnce(Result<(), Error>) + Send + 'static>(
&self,
io_priority: Priority,
cancellable: Option<&P>,
callback: Q
)
&self,
io_priority: Priority,
cancellable: Option<&P>,
callback: Q
)
fn close_async_future(
&self,
io_priority: Priority
) -> Pin<Box_<dyn Future<Output = Result<(), Error>> + 'static>>
&self,
io_priority: Priority
) -> Pin<Box_<dyn Future<Output = Result<(), Error>> + 'static>>
fn has_pending(&self) -> bool
fn is_closed(&self) -> bool
fn read_bytes<P: IsA<Cancellable>>(
&self,
count: usize,
cancellable: Option<&P>
) -> Result<Bytes, Error>
&self,
count: usize,
cancellable: Option<&P>
) -> Result<Bytes, Error>
fn read_bytes_async<P: IsA<Cancellable>, Q: FnOnce(Result<Bytes, Error>) + Send + 'static>(
&self,
count: usize,
io_priority: Priority,
cancellable: Option<&P>,
callback: Q
)
&self,
count: usize,
io_priority: Priority,
cancellable: Option<&P>,
callback: Q
)
fn read_bytes_async_future(
&self,
count: usize,
io_priority: Priority
) -> Pin<Box_<dyn Future<Output = Result<Bytes, Error>> + 'static>>
&self,
count: usize,
io_priority: Priority
) -> Pin<Box_<dyn Future<Output = Result<Bytes, Error>> + 'static>>
fn set_pending(&self) -> Result<(), Error>
fn skip<P: IsA<Cancellable>>(
&self,
count: usize,
cancellable: Option<&P>
) -> Result<isize, Error>
&self,
count: usize,
cancellable: Option<&P>
) -> Result<isize, Error>
fn skip_async<P: IsA<Cancellable>, Q: FnOnce(Result<isize, Error>) + Send + 'static>(
&self,
count: usize,
io_priority: Priority,
cancellable: Option<&P>,
callback: Q
)
&self,
count: usize,
io_priority: Priority,
cancellable: Option<&P>,
callback: Q
)
fn skip_async_future(
&self,
count: usize,
io_priority: Priority
) -> Pin<Box_<dyn Future<Output = Result<isize, Error>> + 'static>>
&self,
count: usize,
io_priority: Priority
) -> Pin<Box_<dyn Future<Output = Result<isize, Error>> + 'static>>
Implementors
impl<O: IsA<InputStream>> InputStreamExt for O
[src]
fn clear_pending(&self)
[src]
fn close<P: IsA<Cancellable>>(
&self,
cancellable: Option<&P>
) -> Result<(), Error>
[src]
&self,
cancellable: Option<&P>
) -> Result<(), Error>
fn close_async<P: IsA<Cancellable>, Q: FnOnce(Result<(), Error>) + Send + 'static>(
&self,
io_priority: Priority,
cancellable: Option<&P>,
callback: Q
)
[src]
&self,
io_priority: Priority,
cancellable: Option<&P>,
callback: Q
)
fn close_async_future(
&self,
io_priority: Priority
) -> Pin<Box_<dyn Future<Output = Result<(), Error>> + 'static>>
[src]
&self,
io_priority: Priority
) -> Pin<Box_<dyn Future<Output = Result<(), Error>> + 'static>>
fn has_pending(&self) -> bool
[src]
fn is_closed(&self) -> bool
[src]
fn read_bytes<P: IsA<Cancellable>>(
&self,
count: usize,
cancellable: Option<&P>
) -> Result<Bytes, Error>
[src]
&self,
count: usize,
cancellable: Option<&P>
) -> Result<Bytes, Error>
fn read_bytes_async<P: IsA<Cancellable>, Q: FnOnce(Result<Bytes, Error>) + Send + 'static>(
&self,
count: usize,
io_priority: Priority,
cancellable: Option<&P>,
callback: Q
)
[src]
&self,
count: usize,
io_priority: Priority,
cancellable: Option<&P>,
callback: Q
)
fn read_bytes_async_future(
&self,
count: usize,
io_priority: Priority
) -> Pin<Box_<dyn Future<Output = Result<Bytes, Error>> + 'static>>
[src]
&self,
count: usize,
io_priority: Priority
) -> Pin<Box_<dyn Future<Output = Result<Bytes, Error>> + 'static>>
fn set_pending(&self) -> Result<(), Error>
[src]
fn skip<P: IsA<Cancellable>>(
&self,
count: usize,
cancellable: Option<&P>
) -> Result<isize, Error>
[src]
&self,
count: usize,
cancellable: Option<&P>
) -> Result<isize, Error>
fn skip_async<P: IsA<Cancellable>, Q: FnOnce(Result<isize, Error>) + Send + 'static>(
&self,
count: usize,
io_priority: Priority,
cancellable: Option<&P>,
callback: Q
)
[src]
&self,
count: usize,
io_priority: Priority,
cancellable: Option<&P>,
callback: Q
)
fn skip_async_future(
&self,
count: usize,
io_priority: Priority
) -> Pin<Box_<dyn Future<Output = Result<isize, Error>> + 'static>>
[src]
&self,
count: usize,
io_priority: Priority
) -> Pin<Box_<dyn Future<Output = Result<isize, Error>> + 'static>>