Enum casper_types::CLValueError
source · pub enum CLValueError {
Serialization(Error),
Type(CLTypeMismatch),
}
Expand description
Error relating to CLValue
operations.
Variants§
Serialization(Error)
An error while serializing or deserializing the underlying data.
Type(CLTypeMismatch)
A type mismatch while trying to convert a CLValue
into a given type.
Trait Implementations§
source§impl Clone for CLValueError
impl Clone for CLValueError
source§fn clone(&self) -> CLValueError
fn clone(&self) -> CLValueError
Returns a copy 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 CLValueError
impl Debug for CLValueError
source§impl<'de> Deserialize<'de> for CLValueError
impl<'de> Deserialize<'de> for CLValueError
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Display for CLValueError
impl Display for CLValueError
source§impl From<CLValueError> for ApiError
impl From<CLValueError> for ApiError
source§fn from(error: CLValueError) -> Self
fn from(error: CLValueError) -> Self
Converts to this type from the input type.
source§impl From<Error> for CLValueError
impl From<Error> for CLValueError
source§impl PartialEq for CLValueError
impl PartialEq for CLValueError
source§fn eq(&self, other: &CLValueError) -> bool
fn eq(&self, other: &CLValueError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for CLValueError
impl Serialize for CLValueError
impl Eq for CLValueError
impl StructuralEq for CLValueError
impl StructuralPartialEq for CLValueError
Auto Trait Implementations§
impl RefUnwindSafe for CLValueError
impl Send for CLValueError
impl Sync for CLValueError
impl Unpin for CLValueError
impl UnwindSafe for CLValueError
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