Enum near_vm_errors::CacheError
source · [−]pub enum CacheError {
ReadError,
WriteError,
DeserializationError,
SerializationError {
hash: [u8; 32],
},
}
Variants
ReadError
WriteError
DeserializationError
SerializationError
Trait Implementations
sourceimpl Debug for CacheError
impl Debug for CacheError
sourceimpl<'_derivative_strum> From<&'_derivative_strum CacheError> for &'static str
impl<'_derivative_strum> From<&'_derivative_strum CacheError> for &'static str
sourcefn from(x: &'_derivative_strum CacheError) -> &'static str
fn from(x: &'_derivative_strum CacheError) -> &'static str
Converts to this type from the input type.
sourceimpl From<CacheError> for &'static str
impl From<CacheError> for &'static str
sourcefn from(x: CacheError) -> &'static str
fn from(x: CacheError) -> &'static str
Converts to this type from the input type.
sourceimpl PartialEq<CacheError> for CacheError
impl PartialEq<CacheError> for CacheError
sourcefn eq(&self, other: &CacheError) -> bool
fn eq(&self, other: &CacheError) -> bool
impl Eq for CacheError
impl StructuralEq for CacheError
impl StructuralPartialEq for CacheError
Auto Trait Implementations
impl RefUnwindSafe for CacheError
impl Send for CacheError
impl Sync for CacheError
impl Unpin for CacheError
impl UnwindSafe for CacheError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more