pub enum PrepareError {
TransactionTypeNotSupported,
TransactionTooLarge,
DecodeError(DecodeError),
EncodeError(EncodeError),
TooManyValues {
value_type: ValueType,
actual: usize,
max: usize,
},
LengthOverflow,
UnexpectedTransactionDiscriminator {
actual: Option<u8>,
},
}
Variants§
TransactionTypeNotSupported
TransactionTooLarge
DecodeError(DecodeError)
EncodeError(EncodeError)
TooManyValues
LengthOverflow
UnexpectedTransactionDiscriminator
Trait Implementations§
Source§impl Clone for PrepareError
impl Clone for PrepareError
Source§fn clone(&self) -> PrepareError
fn clone(&self) -> PrepareError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for PrepareError
impl Debug for PrepareError
Source§impl From<DecodeError> for PrepareError
impl From<DecodeError> for PrepareError
Source§fn from(value: DecodeError) -> Self
fn from(value: DecodeError) -> Self
Converts to this type from the input type.
Source§impl From<EncodeError> for PrepareError
impl From<EncodeError> for PrepareError
Source§fn from(value: EncodeError) -> Self
fn from(value: EncodeError) -> Self
Converts to this type from the input type.
Source§impl From<PrepareError> for LedgerTransactionValidationError
impl From<PrepareError> for LedgerTransactionValidationError
Source§fn from(value: PrepareError) -> Self
fn from(value: PrepareError) -> Self
Converts to this type from the input type.
Source§impl From<PrepareError> for TransactionValidationError
impl From<PrepareError> for TransactionValidationError
Source§fn from(value: PrepareError) -> Self
fn from(value: PrepareError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for PrepareError
impl PartialEq for PrepareError
impl Eq for PrepareError
impl StructuralPartialEq for PrepareError
Auto Trait Implementations§
impl Freeze for PrepareError
impl RefUnwindSafe for PrepareError
impl Send for PrepareError
impl Sync for PrepareError
impl Unpin for PrepareError
impl UnwindSafe for PrepareError
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T, U> ContextualTryInto<U> for Twhere
U: ContextualTryFrom<T>,
impl<T, U> ContextualTryInto<U> for Twhere
U: ContextualTryFrom<T>,
type Error = <U as ContextualTryFrom<T>>::Error
type Context = <U as ContextualTryFrom<T>>::Context
fn contextual_try_into( self, context: &<U as ContextualTryFrom<T>>::Context, ) -> Result<U, <U as ContextualTryFrom<T>>::Error>
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.