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
Source§fn clone(&self) -> StreamErrorMode
fn clone(&self) -> StreamErrorMode
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 moreimpl 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