Enum ProcessIncomingError
#[non_exhaustive]pub enum ProcessIncomingError {
Crypto(CryptoError),
Decoding(DecodingError),
}
Expand description
The error returned by Processor::process_incoming
.
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.
Crypto(CryptoError)
Decoding(DecodingError)
Trait Implementations§
§impl Debug for ProcessIncomingError
impl Debug for ProcessIncomingError
§impl Display for ProcessIncomingError
impl Display for ProcessIncomingError
§impl Error for ProcessIncomingError
impl Error for ProcessIncomingError
§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()
§impl From<CryptoError> for ProcessIncomingError
impl From<CryptoError> for ProcessIncomingError
§fn from(value: CryptoError) -> ProcessIncomingError
fn from(value: CryptoError) -> ProcessIncomingError
Converts to this type from the input type.
§impl From<DecodingError> for ProcessIncomingError
impl From<DecodingError> for ProcessIncomingError
§fn from(value: DecodingError) -> ProcessIncomingError
fn from(value: DecodingError) -> ProcessIncomingError
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ProcessIncomingError
impl RefUnwindSafe for ProcessIncomingError
impl Send for ProcessIncomingError
impl Sync for ProcessIncomingError
impl Unpin for ProcessIncomingError
impl UnwindSafe for ProcessIncomingError
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