Enum transact::handler::ContextError
source ·
[−]pub enum ContextError {
AuthorizationError(String),
ResponseAttributeError(String),
TransactionReceiptError(String),
SerializationError(Box<dyn Error>),
SendError(Box<dyn Error>),
ReceiveError(Box<dyn Error>),
}
Variants
AuthorizationError(String)
Tuple Fields
0: String
Returned for an authorization error
ResponseAttributeError(String)
Tuple Fields
0: String
Returned when a error occurs due to missing info in a response
TransactionReceiptError(String)
Tuple Fields
0: String
Returned when there is an issues setting receipt data or events.
SerializationError(Box<dyn Error>)
Returned when a ProtobufError is returned during serializing
SendError(Box<dyn Error>)
Returned when an error is returned when sending a message
ReceiveError(Box<dyn Error>)
Returned when an error is returned when sending a message
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for ContextError
impl !Send for ContextError
impl !Sync for ContextError
impl Unpin for ContextError
impl !UnwindSafe for ContextError
Blanket Implementations
Mutably borrows from an owned value. Read more
Convert self
to an expression for Diesel’s query builder. Read more
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression where
&'a Self: AsExpression<T>,
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression where
&'a Self: AsExpression<T>,
Convert &self
to an expression for Diesel’s query builder. Read more
impl<T> SafeBorrow<T> for T where
T: ?Sized,
impl<T> SafeBorrow<T> for T where
T: ?Sized,
pub fn borrow_replacement(ptr: &T) -> &T
pub fn borrow_replacement(ptr: &T) -> &T
Given ptr
, which was obtained from a prior call to Self::borrow()
,
return a value with the same nominal lifetime which is guaranteed to
survive mutations to Self
. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more