Enum transact::protocol::batch::BatchBuildError
source · pub enum BatchBuildError {
MissingField(String),
SerializationError(String),
DeserializationError(String),
SigningError(String),
}
Variants§
Trait Implementations§
source§impl Debug for BatchBuildError
impl Debug for BatchBuildError
source§impl Display for BatchBuildError
impl Display for BatchBuildError
source§impl Error for BatchBuildError
impl Error for BatchBuildError
source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
1.30.0 · 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
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<SigningError> for BatchBuildError
impl From<SigningError> for BatchBuildError
source§fn from(err: SigningError) -> Self
fn from(err: SigningError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for BatchBuildError
impl Send for BatchBuildError
impl Sync for BatchBuildError
impl Unpin for BatchBuildError
impl UnwindSafe for BatchBuildError
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