[][src]Enum dynomite::error::AttributeError

pub enum AttributeError {
    InvalidFormat,
    InvalidType,
    MissingField {
        name: String,
    },
}

Errors that may result of attribute value conversions

Variants

InvalidFormat

Will be returned if an AttributeValue is present, and is of the expected type but its contents are not well-formatted

InvalidType

Will be returned if provided AttributeValue is not of the expected type

MissingField

Will be returned if provided attributes does not included an expected named value

Fields of MissingField

name: String

Name of the field that is missing

Trait Implementations

impl Debug for AttributeError[src]

impl Display for AttributeError[src]

impl Error for AttributeError[src]

impl PartialEq<AttributeError> for AttributeError[src]

impl StructuralPartialEq for AttributeError[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> ToString for T where
    T: Display + ?Sized
[src]

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,