Enum transact::context::manager::ContextManagerError
source · pub enum ContextManagerError {
MissingContextError(String),
TransactionReceiptBuilderError(TransactionReceiptBuilderError),
StateReadError(StateReadError),
}
Variants§
MissingContextError(String)
TransactionReceiptBuilderError(TransactionReceiptBuilderError)
StateReadError(StateReadError)
Trait Implementations§
source§impl Debug for ContextManagerError
impl Debug for ContextManagerError
source§impl Display for ContextManagerError
impl Display for ContextManagerError
source§impl Error for ContextManagerError
impl Error for ContextManagerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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<ContextManagerError> for ContextError
impl From<ContextManagerError> for ContextError
source§fn from(err: ContextManagerError) -> Self
fn from(err: ContextManagerError) -> Self
Converts to this type from the input type.
source§impl From<StateReadError> for ContextManagerError
impl From<StateReadError> for ContextManagerError
source§fn from(err: StateReadError) -> Self
fn from(err: StateReadError) -> Self
Converts to this type from the input type.
source§impl From<TransactionReceiptBuilderError> for ContextManagerError
impl From<TransactionReceiptBuilderError> for ContextManagerError
source§fn from(err: TransactionReceiptBuilderError) -> Self
fn from(err: TransactionReceiptBuilderError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for ContextManagerError
impl !Send for ContextManagerError
impl !Sync for ContextManagerError
impl Unpin for ContextManagerError
impl !UnwindSafe for ContextManagerError
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoSql for T
impl<T> IntoSql for T
source§fn into_sql<T>(self) -> Self::Expressionwhere
Self: AsExpression<T> + Sized,
fn into_sql<T>(self) -> Self::Expressionwhere
Self: AsExpression<T> + Sized,
Convert
self
to an expression for Diesel’s query builder. Read moresource§fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expressionwhere
&'a Self: AsExpression<T>,
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expressionwhere
&'a Self: AsExpression<T>,
Convert
&self
to an expression for Diesel’s query builder. Read more§impl<T> SafeBorrow<T> for Twhere
T: ?Sized,
impl<T> SafeBorrow<T> for Twhere
T: ?Sized,
§fn borrow_replacement(ptr: &T) -> &T
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