Enum nu_errors::ProximateShellError[][src]

pub enum ProximateShellError {
Show variants SyntaxError { problem: Spanned<String>, }, UnexpectedEof { expected: String, span: Span, }, TypeError { expected: String, actual: Spanned<Option<String>>, }, MissingProperty { subpath: Spanned<String>, expr: Spanned<String>, }, InvalidIntegerIndex { subpath: Spanned<String>, integer: Span, }, MissingValue { span: Option<Span>, reason: String, }, ArgumentError { command: Spanned<String>, error: ArgumentError, }, RangeError { kind: ExpectedRange, actual_kind: Spanned<String>, operation: String, }, Diagnostic(ShellDiagnostic), CoerceError { left: Spanned<String>, right: Spanned<String>, }, UntaggedRuntimeError { reason: String, }, Unimplemented { reason: String, }, ExternalPlaceholderError,
}

Variants

SyntaxError

Fields of SyntaxError

problem: Spanned<String>
UnexpectedEof

Fields of UnexpectedEof

expected: Stringspan: Span
TypeError

Fields of TypeError

expected: Stringactual: Spanned<Option<String>>
MissingProperty

Fields of MissingProperty

subpath: Spanned<String>expr: Spanned<String>
InvalidIntegerIndex

Fields of InvalidIntegerIndex

subpath: Spanned<String>integer: Span
MissingValue

Fields of MissingValue

span: Option<Span>reason: String
ArgumentError

Fields of ArgumentError

command: Spanned<String>error: ArgumentError
RangeError

Fields of RangeError

kind: ExpectedRangeactual_kind: Spanned<String>operation: String
Diagnostic(ShellDiagnostic)
CoerceError

Fields of CoerceError

left: Spanned<String>right: Spanned<String>
UntaggedRuntimeError

Fields of UntaggedRuntimeError

reason: String
Unimplemented

Fields of Unimplemented

reason: String
ExternalPlaceholderError

Trait Implementations

impl Clone for ProximateShellError[src]

impl Debug for ProximateShellError[src]

impl<'de> Deserialize<'de> for ProximateShellError[src]

impl Eq for ProximateShellError[src]

impl HasFallibleSpan for ProximateShellError[src]

impl Hash for ProximateShellError[src]

impl Ord for ProximateShellError[src]

impl PartialEq<ProximateShellError> for ProximateShellError[src]

impl PartialOrd<ProximateShellError> for ProximateShellError[src]

impl Serialize for ProximateShellError[src]

impl StructuralEq for ProximateShellError[src]

impl StructuralPartialEq for ProximateShellError[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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

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

impl<T> IntoSpanned for T where
    T: HasFallibleSpan
[src]

type Output = T

impl<T> SpannedItem for T[src]

impl<T> TaggedItem for T[src]

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.