pub struct StreamOptionsBuilder { /* private fields */ }
Expand description
Builder for StreamOptions
.
Implementations§
Source§impl StreamOptionsBuilder
impl StreamOptionsBuilder
pub fn include_usage(&mut self, value: bool) -> &mut Self
Sourcepub fn build(&self) -> Result<StreamOptions, StreamOptionsBuilderError>
pub fn build(&self) -> Result<StreamOptions, StreamOptionsBuilderError>
Trait Implementations§
Source§impl Clone for StreamOptionsBuilder
impl Clone for StreamOptionsBuilder
Source§fn clone(&self) -> StreamOptionsBuilder
fn clone(&self) -> StreamOptionsBuilder
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for StreamOptionsBuilder
impl RefUnwindSafe for StreamOptionsBuilder
impl Send for StreamOptionsBuilder
impl Sync for StreamOptionsBuilder
impl Unpin for StreamOptionsBuilder
impl UnwindSafe for StreamOptionsBuilder
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