pub struct LimitedBufferBuilder { /* private fields */ }Expand description
LimitedBuffer builder.
Implementations§
Trait Implementations§
Source§impl<T: Send> ChunkBufferBuilder<T> for LimitedBufferBuilder
impl<T: Send> ChunkBufferBuilder<T> for LimitedBufferBuilder
Source§type Buffer = LimitedBuffer<T>
type Buffer = LimitedBuffer<T>
Building buffer type
Source§fn build(&self) -> Self::Buffer
fn build(&self) -> Self::Buffer
Creates a new
ChunkBuffer trait instance.Auto Trait Implementations§
impl Freeze for LimitedBufferBuilder
impl RefUnwindSafe for LimitedBufferBuilder
impl Send for LimitedBufferBuilder
impl Sync for LimitedBufferBuilder
impl Unpin for LimitedBufferBuilder
impl UnwindSafe for LimitedBufferBuilder
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more