pub struct WriterShutdownError {
pub unaccounted: u64,
pub panicked: bool,
}Expand description
The writer task ended without reporting: it panicked, or it was aborted.
unaccounted is a lower bound on committed charges left with no billing
record — the events that had entered the queue but had not yet been given
an outcome.
Fields§
§unaccounted: u64Lower bound on committed charges that entered the queue and received no billing outcome before the task ended.
panicked: boolTrue when the task panicked, false when it was cancelled or aborted.
Trait Implementations§
Source§impl Clone for WriterShutdownError
impl Clone for WriterShutdownError
impl Copy for WriterShutdownError
Source§impl Debug for WriterShutdownError
impl Debug for WriterShutdownError
Source§impl Display for WriterShutdownError
impl Display for WriterShutdownError
impl Eq for WriterShutdownError
Source§impl Error for WriterShutdownError
impl Error for WriterShutdownError
1.30.0 · 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 PartialEq for WriterShutdownError
impl PartialEq for WriterShutdownError
impl StructuralPartialEq for WriterShutdownError
Auto Trait Implementations§
impl Freeze for WriterShutdownError
impl RefUnwindSafe for WriterShutdownError
impl Send for WriterShutdownError
impl Sync for WriterShutdownError
impl Unpin for WriterShutdownError
impl UnsafeUnpin for WriterShutdownError
impl UnwindSafe for WriterShutdownError
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.