pub struct LoggingSink { /* private fields */ }Expand description
A logging sink operator for debugging.
Implementations§
Trait Implementations§
Source§impl SinkOperator for LoggingSink
impl SinkOperator for LoggingSink
Source§fn consume<'life0, 'async_trait>(
&'life0 mut self,
messages: Vec<StreamMessage>,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn consume<'life0, 'async_trait>(
&'life0 mut self,
messages: Vec<StreamMessage>,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Consume a batch of elements.
Auto Trait Implementations§
impl Freeze for LoggingSink
impl RefUnwindSafe for LoggingSink
impl Send for LoggingSink
impl Sync for LoggingSink
impl Unpin for LoggingSink
impl UnsafeUnpin for LoggingSink
impl UnwindSafe for LoggingSink
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