pub struct StreamErrorMode {
pub ignore: bool,
pub flush: bool,
}Expand description
How errors are handled in a stream when executing a task.
Fields§
§ignore: boolWhether the task still executes even if the stream is in error.
flush: boolWhether the errors are flushed by the current task.
Trait Implementations§
Source§impl Clone for StreamErrorMode
impl Clone for StreamErrorMode
impl Copy for StreamErrorMode
Auto Trait Implementations§
impl Freeze for StreamErrorMode
impl RefUnwindSafe for StreamErrorMode
impl Send for StreamErrorMode
impl Sync for StreamErrorMode
impl Unpin for StreamErrorMode
impl UnsafeUnpin for StreamErrorMode
impl UnwindSafe for StreamErrorMode
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