pub enum ProcessingError {
ConnectionError(Error),
DecryptError,
Other,
}
Expand description
re-export core
Some connection methods may need to indicate both ConnectionError
s and DecryptError
s. This
enum is used to allow for either error type to be returned as appropriate.
Variants§
Trait Implementations§
source§impl Clone for ProcessingError
impl Clone for ProcessingError
source§fn clone(&self) -> ProcessingError
fn clone(&self) -> ProcessingError
Returns a copy of the value. Read more
1.0.0 · 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 ProcessingError
impl Debug for ProcessingError
source§impl From<Error> for ProcessingError
impl From<Error> for ProcessingError
source§fn from(inner_error: Error) -> ProcessingError
fn from(inner_error: Error) -> ProcessingError
Converts to this type from the input type.
source§impl From<Error> for ProcessingError
impl From<Error> for ProcessingError
source§fn from(inner_error: Error) -> ProcessingError
fn from(inner_error: Error) -> ProcessingError
Converts to this type from the input type.
source§impl From<Error> for ProcessingError
impl From<Error> for ProcessingError
source§fn from(_: Error) -> ProcessingError
fn from(_: Error) -> ProcessingError
Converts to this type from the input type.
source§impl PartialEq for ProcessingError
impl PartialEq for ProcessingError
source§fn eq(&self, other: &ProcessingError) -> bool
fn eq(&self, other: &ProcessingError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ProcessingError
impl StructuralPartialEq for ProcessingError
Auto Trait Implementations§
impl Freeze for ProcessingError
impl RefUnwindSafe for ProcessingError
impl Send for ProcessingError
impl Sync for ProcessingError
impl Unpin for ProcessingError
impl UnwindSafe for ProcessingError
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