pub struct OutputBuilderSession<'a, T: Timestamp, CB: ContainerBuilder> { /* private fields */ }Expand description
A wrapper around a live output session, with a container builder to buffer.
Implementations§
Source§impl<'a, T: Timestamp, CB: ContainerBuilder> OutputBuilderSession<'a, T, CB>
impl<'a, T: Timestamp, CB: ContainerBuilder> OutputBuilderSession<'a, T, CB>
Sourcepub fn session_with_builder<'b, CT: CapabilityTrait<T>>(
&'b mut self,
capability: &'b CT,
) -> Session<'a, 'b, T, CB, CT>where
'a: 'b,
pub fn session_with_builder<'b, CT: CapabilityTrait<T>>(
&'b mut self,
capability: &'b CT,
) -> Session<'a, 'b, T, CB, CT>where
'a: 'b,
A container-building session associated with a capability.
This method is the prefered way of sending records that must be accumulated into a container, as it avoid the recurring overhead of capability validation.
Source§impl<'a, T: Timestamp, C: Container> OutputBuilderSession<'a, T, CapacityContainerBuilder<C>>
impl<'a, T: Timestamp, C: Container> OutputBuilderSession<'a, T, CapacityContainerBuilder<C>>
Sourcepub fn session<'b, CT: CapabilityTrait<T>>(
&'b mut self,
capability: &'b CT,
) -> Session<'a, 'b, T, CapacityContainerBuilder<C>, CT>where
'a: 'b,
pub fn session<'b, CT: CapabilityTrait<T>>(
&'b mut self,
capability: &'b CT,
) -> Session<'a, 'b, T, CapacityContainerBuilder<C>, CT>where
'a: 'b,
A container-building session associated with a capability.
This method is the prefered way of sending records that must be accumulated into a container, as it avoid the recurring overhead of capability validation.
Auto Trait Implementations§
impl<'a, T, CB> Freeze for OutputBuilderSession<'a, T, CB>
impl<'a, T, CB> !RefUnwindSafe for OutputBuilderSession<'a, T, CB>
impl<'a, T, CB> !Send for OutputBuilderSession<'a, T, CB>
impl<'a, T, CB> !Sync for OutputBuilderSession<'a, T, CB>
impl<'a, T, CB> Unpin for OutputBuilderSession<'a, T, CB>
impl<'a, T, CB> !UnwindSafe for OutputBuilderSession<'a, T, CB>
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