Enum runestick::AccessError[][src]

pub enum AccessError {
    UnexpectedType {
        expected: RawStr,
        actual: RawStr,
    },
    NotAccessibleRef {
        error: NotAccessibleRef,
    },
    NotAccessibleMut {
        error: NotAccessibleMut,
    },
    NotAccessibleTake {
        error: NotAccessibleTake,
    },
    AnyObjError {
        error: AnyObjError,
    },
}

An error raised while downcasting.

Variants

UnexpectedType

Fields of UnexpectedType

expected: RawStractual: RawStr
NotAccessibleRef

Fields of NotAccessibleRef

error: NotAccessibleRef
NotAccessibleMut

Fields of NotAccessibleMut

error: NotAccessibleMut
NotAccessibleTake

Fields of NotAccessibleTake

error: NotAccessibleTake
AnyObjError

Fields of AnyObjError

error: AnyObjError

Trait Implementations

impl Debug for AccessError[src]

impl Display for AccessError[src]

impl Error for AccessError[src]

impl From<AccessError> for VmErrorKind[src]

impl From<AnyObjError> for AccessError[src]

impl From<NotAccessibleMut> for AccessError[src]

impl From<NotAccessibleRef> for AccessError[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> 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.