pub struct CaptureSink { /* private fields */ }Expand description
A capturing sink bundle for whole-pipeline tests — see capture_sink.
Implementations§
Source§impl CaptureSink
impl CaptureSink
Sourcepub fn with_pool_config(self, pool: SinkPoolConfig) -> Self
pub fn with_pool_config(self, pool: SinkPoolConfig) -> Self
Override the pool tuning (tests usually shrink linger).
Trait Implementations§
Source§impl Clone for CaptureSink
impl Clone for CaptureSink
Source§fn clone(&self) -> CaptureSink
fn clone(&self) -> CaptureSink
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CaptureSink
impl Debug for CaptureSink
Source§impl SinkBundle for CaptureSink
impl SinkBundle for CaptureSink
Source§type Writer = CaptureWriter
type Writer = CaptureWriter
The connector’s
ShardWriter implementation.Source§fn into_parts(self) -> SinkParts<CaptureWriter>
fn into_parts(self) -> SinkParts<CaptureWriter>
Decompose into the parts the builder wires up. Consuming: the
endpoints move into the sink pool.
Auto Trait Implementations§
impl Freeze for CaptureSink
impl RefUnwindSafe for CaptureSink
impl Send for CaptureSink
impl Sync for CaptureSink
impl Unpin for CaptureSink
impl UnsafeUnpin for CaptureSink
impl UnwindSafe for CaptureSink
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