pub enum BankAccountConversionErr {
BadUnencryptedJson {
source: Box<Error>,
},
EncryptedPayloadTooLarge,
BadEncryptedPayload {
source: Box<dyn Error + Sync + Send>,
},
ByteConversionError {
message: String,
},
}
Variants§
Trait Implementations§
Source§impl Debug for BankAccountConversionErr
impl Debug for BankAccountConversionErr
Source§impl Display for BankAccountConversionErr
impl Display for BankAccountConversionErr
Source§impl Error for BankAccountConversionErr
impl Error for BankAccountConversionErr
Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§fn cause(&self) -> Option<&dyn Error>
fn cause(&self) -> Option<&dyn Error>
👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
Source§impl From<Error> for BankAccountConversionErr
impl From<Error> for BankAccountConversionErr
Source§fn from(error: Error) -> BankAccountConversionErr
fn from(error: Error) -> BankAccountConversionErr
Converts to this type from the input type.
Source§impl Serialize for BankAccountConversionErr
impl Serialize for BankAccountConversionErr
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for BankAccountConversionErr
impl !RefUnwindSafe for BankAccountConversionErr
impl Send for BankAccountConversionErr
impl Sync for BankAccountConversionErr
impl Unpin for BankAccountConversionErr
impl !UnwindSafe for BankAccountConversionErr
Blanket Implementations§
Source§impl<T> AsErrorSource for Twhere
T: Error + 'static,
impl<T> AsErrorSource for Twhere
T: Error + 'static,
Source§fn as_error_source(&self) -> &(dyn Error + 'static)
fn as_error_source(&self) -> &(dyn Error + 'static)
For maximum effectiveness, this needs to be called as a method
to benefit from Rust’s automatic dereferencing of method
receivers.
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request