[][src]Struct casperlabs_types::CLTypeMismatch

pub struct CLTypeMismatch {
    pub expected: CLType,
    pub found: CLType,
}

Error while converting a CLValue into a given type.

Fields

expected: CLType

The CLType into which the CLValue was being converted.

found: CLType

The actual underlying CLType of this CLValue, i.e. the type from which it was constructed.

Trait Implementations

impl Clone for CLTypeMismatch[src]

impl Debug for CLTypeMismatch[src]

impl Eq for CLTypeMismatch[src]

impl PartialEq<CLTypeMismatch> for CLTypeMismatch[src]

impl StructuralEq for CLTypeMismatch[src]

impl StructuralPartialEq for CLTypeMismatch[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.