Trait gio::BufferedInputStreamExt [−][src]
pub trait BufferedInputStreamExt { fn fill<'a, P: Into<Option<&'a Cancellable>>>(
&self,
count: isize,
cancellable: P
) -> Result<isize, Error>; fn fill_async<'a, P: Into<Option<&'a Cancellable>>, Q: FnOnce(Result<isize, Error>) + Send + 'static>(
&self,
count: isize,
io_priority: Priority,
cancellable: P,
callback: Q
); fn get_available(&self) -> usize; fn get_buffer_size(&self) -> usize; fn peek_buffer(&self) -> Vec<u8>; fn read_byte<'a, P: Into<Option<&'a Cancellable>>>(
&self,
cancellable: P
) -> Result<i32, Error>; fn set_buffer_size(&self, size: usize); fn connect_property_buffer_size_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId; }
Required Methods
fn fill<'a, P: Into<Option<&'a Cancellable>>>(
&self,
count: isize,
cancellable: P
) -> Result<isize, Error>
&self,
count: isize,
cancellable: P
) -> Result<isize, Error>
fn fill_async<'a, P: Into<Option<&'a Cancellable>>, Q: FnOnce(Result<isize, Error>) + Send + 'static>(
&self,
count: isize,
io_priority: Priority,
cancellable: P,
callback: Q
)
&self,
count: isize,
io_priority: Priority,
cancellable: P,
callback: Q
)
fn get_available(&self) -> usize
fn get_buffer_size(&self) -> usize
fn peek_buffer(&self) -> Vec<u8>
fn read_byte<'a, P: Into<Option<&'a Cancellable>>>(
&self,
cancellable: P
) -> Result<i32, Error>
&self,
cancellable: P
) -> Result<i32, Error>
fn set_buffer_size(&self, size: usize)
fn connect_property_buffer_size_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
Implementors
impl<O: IsA<BufferedInputStream> + IsA<Object>> BufferedInputStreamExt for O