Enum transact::state::merkle::kv::StateDatabaseError [−][src]
pub enum StateDatabaseError {
NotFound(String),
DeserializationError(DecodeError),
SerializationError(EncodeError),
ChangeLogEncodingError(String),
InvalidRecord,
InvalidHash(String),
InvalidChangeLogIndex(String),
DatabaseError(DatabaseError),
ProtobufConversionError(ProtoConversionError),
UnknownError,
}Variants
NotFound(String)Tuple Fields of NotFound
0: StringDeserializationError(DecodeError)Tuple Fields of DeserializationError
0: DecodeErrorSerializationError(EncodeError)Tuple Fields of SerializationError
0: EncodeErrorChangeLogEncodingError(String)Tuple Fields of ChangeLogEncodingError
0: StringInvalidHash(String)Tuple Fields of InvalidHash
0: StringInvalidChangeLogIndex(String)Tuple Fields of InvalidChangeLogIndex
0: StringDatabaseError(DatabaseError)Tuple Fields of DatabaseError
ProtobufConversionError(ProtoConversionError)Tuple Fields of ProtobufConversionError
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for StateDatabaseError
impl Send for StateDatabaseError
impl Sync for StateDatabaseError
impl Unpin for StateDatabaseError
impl !UnwindSafe for StateDatabaseError
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