pub struct NoopBuilder<C> { /* private fields */ }Expand description
A container builder that only accepts containers, and produces them as output.
This exists for operators that have containers ready to go, and haven’t the need for a builder.
Trait Implementations§
Source§impl<C> ContainerBuilder for NoopBuilder<C>
impl<C> ContainerBuilder for NoopBuilder<C>
Source§fn extract(&mut self) -> Option<&mut C>
fn extract(&mut self) -> Option<&mut C>
Extract assembled containers, potentially leaving unfinished data behind. Can
be called repeatedly, for example while the caller can send data. Read more
Source§impl<C> Default for NoopBuilder<C>
impl<C> Default for NoopBuilder<C>
Source§fn default() -> NoopBuilder<C>
fn default() -> NoopBuilder<C>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<C> Freeze for NoopBuilder<C>
impl<C> RefUnwindSafe for NoopBuilder<C>where
C: RefUnwindSafe,
impl<C> Send for NoopBuilder<C>where
C: Send,
impl<C> Sync for NoopBuilder<C>where
C: Sync,
impl<C> Unpin for NoopBuilder<C>where
C: Unpin,
impl<C> UnwindSafe for NoopBuilder<C>where
C: UnwindSafe,
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