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
Show fields
Fields of ArgumentError
command: Spanned<String>
error: ArgumentError
Show fields
Fields of RangeError
Diagnostic(ShellDiagnostic)
Show fields
Fields of UntaggedRuntimeError
reason: String
Show fields
Fields of Unimplemented
reason: String
Trait Implementations
impl Clone for ProximateShellError
[src]
impl Clone for ProximateShellError
[src]fn clone(&self) -> ProximateShellError
[src]
fn clone(&self) -> ProximateShellError
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Debug for ProximateShellError
[src]
impl Debug for ProximateShellError
[src]impl<'de> Deserialize<'de> for ProximateShellError
[src]
impl<'de> Deserialize<'de> for ProximateShellError
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
impl HasFallibleSpan for ProximateShellError
[src]
impl HasFallibleSpan for ProximateShellError
[src]fn maybe_span(&self) -> Option<Span>
[src]
impl Hash for ProximateShellError
[src]
impl Hash for ProximateShellError
[src]impl Ord for ProximateShellError
[src]
impl Ord for ProximateShellError
[src]impl PartialEq<ProximateShellError> for ProximateShellError
[src]
impl PartialEq<ProximateShellError> for ProximateShellError
[src]fn eq(&self, other: &ProximateShellError) -> bool
[src]
fn eq(&self, other: &ProximateShellError) -> bool
[src]This method tests for self
and other
values to be equal, and is used
by ==
. Read more
fn ne(&self, other: &ProximateShellError) -> bool
[src]
fn ne(&self, other: &ProximateShellError) -> bool
[src]This method tests for !=
.
impl PartialOrd<ProximateShellError> for ProximateShellError
[src]
impl PartialOrd<ProximateShellError> for ProximateShellError
[src]fn partial_cmp(&self, other: &ProximateShellError) -> Option<Ordering>
[src]
fn partial_cmp(&self, other: &ProximateShellError) -> Option<Ordering>
[src]This method returns an ordering between self
and other
values if one exists. Read more
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]This method tests less than (for self
and other
) and is used by the <
operator. Read more
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
impl Serialize for ProximateShellError
[src]
impl Serialize for ProximateShellError
[src]impl Eq for ProximateShellError
[src]
impl StructuralEq for ProximateShellError
[src]
impl StructuralPartialEq for ProximateShellError
[src]
Auto Trait Implementations
impl RefUnwindSafe for ProximateShellError
impl Send for ProximateShellError
impl Sync for ProximateShellError
impl Unpin for ProximateShellError
impl UnwindSafe for ProximateShellError
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> IntoSpanned for T where
T: HasFallibleSpan,
[src]
impl<T> IntoSpanned for T where
T: HasFallibleSpan,
[src]impl<T> SpannedItem for T
[src]
impl<T> SpannedItem for T
[src]impl<T> TaggedItem for T
[src]
impl<T> TaggedItem for T
[src]impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,