#[non_exhaustive]pub enum RuntimeDeliveryError {
InvalidInput(String),
IdempotencyConflict(RuntimeDeliveryId),
OutOfOrder {
delivery_id: RuntimeDeliveryId,
expected: u64,
actual: u64,
},
Corrupt(String),
Authority(String),
Store(RuntimeStoreError),
}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.
InvalidInput(String)
IdempotencyConflict(RuntimeDeliveryId)
OutOfOrder
Corrupt(String)
Authority(String)
Store(RuntimeStoreError)
Trait Implementations§
Source§impl Clone for RuntimeDeliveryError
impl Clone for RuntimeDeliveryError
Source§fn clone(&self) -> RuntimeDeliveryError
fn clone(&self) -> RuntimeDeliveryError
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 RuntimeDeliveryError
impl Debug for RuntimeDeliveryError
Source§impl Display for RuntimeDeliveryError
impl Display for RuntimeDeliveryError
Source§impl Error for RuntimeDeliveryError
impl Error for RuntimeDeliveryError
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 From<RuntimeStoreError> for RuntimeDeliveryError
impl From<RuntimeStoreError> for RuntimeDeliveryError
Source§fn from(source: RuntimeStoreError) -> Self
fn from(source: RuntimeStoreError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for RuntimeDeliveryError
impl RefUnwindSafe for RuntimeDeliveryError
impl Send for RuntimeDeliveryError
impl Sync for RuntimeDeliveryError
impl Unpin for RuntimeDeliveryError
impl UnsafeUnpin for RuntimeDeliveryError
impl UnwindSafe for RuntimeDeliveryError
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