pub enum SinkWriteErrorAction {
Stop,
Continue,
}Expand description
Action to take after an async writer sink rejects collected output.
Variants§
Stop
Stop collection and surface the SinkWriteError as the consumer’s output. The
writer-backed consumer’s wait returns Ok(Err(sink_write_error)) in that case.
Continue
Accept the individual write failure and keep collecting later stream output.
Trait Implementations§
Source§impl Clone for SinkWriteErrorAction
impl Clone for SinkWriteErrorAction
Source§fn clone(&self) -> SinkWriteErrorAction
fn clone(&self) -> SinkWriteErrorAction
Returns a duplicate of the value. Read more
1.0.0 · 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 SinkWriteErrorAction
impl Debug for SinkWriteErrorAction
Source§impl PartialEq for SinkWriteErrorAction
impl PartialEq for SinkWriteErrorAction
impl Copy for SinkWriteErrorAction
impl Eq for SinkWriteErrorAction
impl StructuralPartialEq for SinkWriteErrorAction
Auto Trait Implementations§
impl Freeze for SinkWriteErrorAction
impl RefUnwindSafe for SinkWriteErrorAction
impl Send for SinkWriteErrorAction
impl Sync for SinkWriteErrorAction
impl Unpin for SinkWriteErrorAction
impl UnsafeUnpin for SinkWriteErrorAction
impl UnwindSafe for SinkWriteErrorAction
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