Enum transact::protos::ProtoConversionError
source · pub enum ProtoConversionError {
DeserializationError(String),
SerializationError(String),
InvalidTypeError(String),
}
Variants§
Trait Implementations§
source§impl Debug for ProtoConversionError
impl Debug for ProtoConversionError
source§impl Display for ProtoConversionError
impl Display for ProtoConversionError
source§impl Error for ProtoConversionError
impl Error for ProtoConversionError
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 StdError>
fn cause(&self) -> Option<&dyn StdError>
👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§impl From<FromHexError> for ProtoConversionError
impl From<FromHexError> for ProtoConversionError
source§fn from(e: FromHexError) -> Self
fn from(e: FromHexError) -> Self
Converts to this type from the input type.
source§impl From<FromUtf8Error> for ProtoConversionError
impl From<FromUtf8Error> for ProtoConversionError
source§fn from(e: FromUtf8Error) -> Self
fn from(e: FromUtf8Error) -> Self
Converts to this type from the input type.
source§impl From<ProtoConversionError> for BatchBuildError
impl From<ProtoConversionError> for BatchBuildError
source§fn from(e: ProtoConversionError) -> Self
fn from(e: ProtoConversionError) -> Self
Converts to this type from the input type.
source§impl From<ProtoConversionError> for ContractContextError
impl From<ProtoConversionError> for ContractContextError
source§fn from(e: ProtoConversionError) -> Self
fn from(e: ProtoConversionError) -> Self
Converts to this type from the input type.
source§impl From<ProtoConversionError> for StateDatabaseError
impl From<ProtoConversionError> for StateDatabaseError
source§fn from(err: ProtoConversionError) -> Self
fn from(err: ProtoConversionError) -> Self
Converts to this type from the input type.
source§impl From<ProtoConversionError> for TransactionBuildError
impl From<ProtoConversionError> for TransactionBuildError
source§fn from(e: ProtoConversionError) -> Self
fn from(e: ProtoConversionError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for ProtoConversionError
impl Send for ProtoConversionError
impl Sync for ProtoConversionError
impl Unpin for ProtoConversionError
impl UnwindSafe for ProtoConversionError
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