Trait gio::prelude::BufferedOutputStreamExt
source · pub trait BufferedOutputStreamExt: IsA<BufferedOutputStream> + Sealed + 'static {
// Provided methods
fn auto_grows(&self) -> bool { ... }
fn buffer_size(&self) -> usize { ... }
fn set_auto_grow(&self, auto_grow: bool) { ... }
fn set_buffer_size(&self, size: usize) { ... }
fn connect_auto_grow_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
fn connect_buffer_size_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
}
Expand description
Provided Methods§
sourcefn auto_grows(&self) -> bool
fn auto_grows(&self) -> bool
sourcefn buffer_size(&self) -> usize
fn buffer_size(&self) -> usize
sourcefn set_auto_grow(&self, auto_grow: bool)
fn set_auto_grow(&self, auto_grow: bool)
Sets whether or not the @self’s buffer should automatically grow. If @auto_grow is true, then each write will just make the buffer larger, and you must manually flush the buffer to actually write out the data to the underlying stream.
§auto_grow
a #gboolean.
sourcefn set_buffer_size(&self, size: usize)
fn set_buffer_size(&self, size: usize)
fn connect_auto_grow_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_buffer_size_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
Object Safety§
This trait is not object safe.