pub struct FlushError<Err> {
pub sent: usize,
pub error: Err,
}Expand description
Failure report from QueuedInputSource::flush_to.
Fields§
§sent: usizeNumber of events accepted by the sink during this call.
error: ErrTrait Implementations§
Source§impl<Err: Clone> Clone for FlushError<Err>
impl<Err: Clone> Clone for FlushError<Err>
Source§fn clone(&self) -> FlushError<Err>
fn clone(&self) -> FlushError<Err>
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<Err: Debug> Debug for FlushError<Err>
impl<Err: Debug> Debug for FlushError<Err>
Source§impl<Err> Display for FlushError<Err>where
Err: Display,
impl<Err> Display for FlushError<Err>where
Err: Display,
impl<Err: Eq> Eq for FlushError<Err>
Source§impl<Err> Error for FlushError<Err>where
Err: Error + 'static,
impl<Err> Error for FlushError<Err>where
Err: Error + 'static,
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl<Err: PartialEq> PartialEq for FlushError<Err>
impl<Err: PartialEq> PartialEq for FlushError<Err>
impl<Err: PartialEq> StructuralPartialEq for FlushError<Err>
Auto Trait Implementations§
impl<Err> Freeze for FlushError<Err>where
Err: Freeze,
impl<Err> RefUnwindSafe for FlushError<Err>where
Err: RefUnwindSafe,
impl<Err> Send for FlushError<Err>where
Err: Send,
impl<Err> Sync for FlushError<Err>where
Err: Sync,
impl<Err> Unpin for FlushError<Err>where
Err: Unpin,
impl<Err> UnsafeUnpin for FlushError<Err>where
Err: UnsafeUnpin,
impl<Err> UnwindSafe for FlushError<Err>where
Err: UnwindSafe,
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