Struct gio::builders::BufferedInputStreamBuilder
source · pub struct BufferedInputStreamBuilder { /* private fields */ }
Expand description
A builder-pattern type to construct BufferedInputStream
objects.
Implementations§
source§impl BufferedInputStreamBuilder
impl BufferedInputStreamBuilder
pub fn buffer_size(self, buffer_size: u32) -> Self
pub fn base_stream(self, base_stream: &impl IsA<InputStream>) -> Self
pub fn close_base_stream(self, close_base_stream: bool) -> Self
sourcepub fn build(self) -> BufferedInputStream
pub fn build(self) -> BufferedInputStream
Build the BufferedInputStream
.
Auto Trait Implementations§
impl RefUnwindSafe for BufferedInputStreamBuilder
impl !Send for BufferedInputStreamBuilder
impl !Sync for BufferedInputStreamBuilder
impl Unpin for BufferedInputStreamBuilder
impl UnwindSafe for BufferedInputStreamBuilder
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