Struct gio::builders::BufferedOutputStreamBuilder
source · pub struct BufferedOutputStreamBuilder { /* private fields */ }
Expand description
A builder-pattern type to construct BufferedOutputStream
objects.
Implementations§
source§impl BufferedOutputStreamBuilder
impl BufferedOutputStreamBuilder
sourcepub fn buffer_size(self, buffer_size: u32) -> Self
pub fn buffer_size(self, buffer_size: u32) -> Self
The size of the backend buffer, in bytes.
pub fn base_stream(self, base_stream: &impl IsA<OutputStream>) -> Self
sourcepub fn close_base_stream(self, close_base_stream: bool) -> Self
pub fn close_base_stream(self, close_base_stream: bool) -> Self
Whether the base stream should be closed when the filter stream is closed.
sourcepub fn build(self) -> BufferedOutputStream
pub fn build(self) -> BufferedOutputStream
Build the BufferedOutputStream
.
Auto Trait Implementations§
impl Freeze for BufferedOutputStreamBuilder
impl RefUnwindSafe for BufferedOutputStreamBuilder
impl !Send for BufferedOutputStreamBuilder
impl !Sync for BufferedOutputStreamBuilder
impl Unpin for BufferedOutputStreamBuilder
impl UnwindSafe for BufferedOutputStreamBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more