pub struct LimitReaderOutputBuilder { /* private fields */ }
Expand description
Builder for LimitReaderOutput
.
Implementations§
Source§impl LimitReaderOutputBuilder
impl LimitReaderOutputBuilder
pub fn source_size<VALUE: Into<u64>>(&mut self, value: VALUE) -> &mut Self
pub fn bytes_read<VALUE: Into<u64>>(&mut self, value: VALUE) -> &mut Self
Sourcepub fn build(&self) -> Result<LimitReaderOutput, LimitReaderOutputBuilderError>
pub fn build(&self) -> Result<LimitReaderOutput, LimitReaderOutputBuilderError>
Trait Implementations§
Source§impl Clone for LimitReaderOutputBuilder
impl Clone for LimitReaderOutputBuilder
Source§fn clone(&self) -> LimitReaderOutputBuilder
fn clone(&self) -> LimitReaderOutputBuilder
Returns a copy 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 LimitReaderOutputBuilder
impl RefUnwindSafe for LimitReaderOutputBuilder
impl Send for LimitReaderOutputBuilder
impl Sync for LimitReaderOutputBuilder
impl Unpin for LimitReaderOutputBuilder
impl UnwindSafe for LimitReaderOutputBuilder
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