#[non_exhaustive]pub enum EmissionError {
SequenceExhausted,
Delivery(DeliveryError),
}Expand description
Failure while emitting a Running or terminal event.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
SequenceExhausted
The operation’s event sequence space is exhausted.
Delivery(DeliveryError)
A reporter rejected one complete event.
Trait Implementations§
Source§impl Clone for EmissionError
impl Clone for EmissionError
Source§fn clone(&self) -> EmissionError
fn clone(&self) -> EmissionError
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 Debug for EmissionError
impl Debug for EmissionError
Source§impl Display for EmissionError
impl Display for EmissionError
Source§impl Error for EmissionError
impl Error for EmissionError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the nested delivery failure when present.
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 From<EmissionError> for AutoReporterError
impl From<EmissionError> for AutoReporterError
Source§fn from(error: EmissionError) -> Self
fn from(error: EmissionError) -> Self
Wraps a normal worker emission failure.
Source§impl From<EmissionError> for StartError
impl From<EmissionError> for StartError
Source§fn from(error: EmissionError) -> Self
fn from(error: EmissionError) -> Self
Converts the only possible start-time emission failures.
Auto Trait Implementations§
impl !RefUnwindSafe for EmissionError
impl !UnwindSafe for EmissionError
impl Freeze for EmissionError
impl Send for EmissionError
impl Sync for EmissionError
impl Unpin for EmissionError
impl UnsafeUnpin for EmissionError
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