Enum oy::InteractiveError[][src]

#[non_exhaustive]pub enum InteractiveError<'a> {
    InteractiveNotImplemented {
        type_name: &'a str,
    },
    MethodsNotImplemented {
        type_name: &'a str,
    },
    DebugNotImplemented {
        type_name: &'static str,
    },
    FieldNotFound {
        type_name: &'a str,
        field_name: &'a str,
    },
    MethodNotFound {
        type_name: &'a str,
        method_name: &'a str,
    },
    FunctionNotFound {
        function_name: &'a str,
    },
    WrongNumberOfArguments {
        method_name: &'a str,
        expected: usize,
        found: usize,
    },
    ArgParseError {
        method_name: &'a str,
        error: ArgParseError<'a>,
    },
    SyntaxError,
}

The main error type of this crate.

Variants (Non-exhaustive)

Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
InteractiveNotImplemented

Fields of InteractiveNotImplemented

type_name: &'a str
MethodsNotImplemented

Fields of MethodsNotImplemented

type_name: &'a str
DebugNotImplemented

Fields of DebugNotImplemented

type_name: &'static str
FieldNotFound

Fields of FieldNotFound

type_name: &'a strfield_name: &'a str
MethodNotFound

Fields of MethodNotFound

type_name: &'a strmethod_name: &'a str
FunctionNotFound

Fields of FunctionNotFound

function_name: &'a str
WrongNumberOfArguments

Fields of WrongNumberOfArguments

method_name: &'a strexpected: usizefound: usize
ArgParseError

Fields of ArgParseError

method_name: &'a strerror: ArgParseError<'a>
SyntaxError

Trait Implementations

impl<'a> Clone for InteractiveError<'a>[src]

impl<'a> Debug for InteractiveError<'a>[src]

impl Display for InteractiveError<'_>[src]

impl<'a> Eq for InteractiveError<'a>[src]

impl Error for InteractiveError<'_>[src]

impl<'a> PartialEq<InteractiveError<'a>> for InteractiveError<'a>[src]

impl<'a> StructuralEq for InteractiveError<'a>[src]

impl<'a> StructuralPartialEq for InteractiveError<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for InteractiveError<'a>

impl<'a> Send for InteractiveError<'a>

impl<'a> Sync for InteractiveError<'a>

impl<'a> Unpin for InteractiveError<'a>

impl<'a> UnwindSafe for InteractiveError<'a>

Blanket Implementations

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

impl<T> AsDebug for T[src]

impl<T> AsDebug for T where
    T: Debug
[src]

impl<T> AsInteractive for T[src]

impl<T> AsInteractiveMut for T[src]

impl<T> AsMethods for T[src]

impl<T> AsMethodsMut for T[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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.