Struct nu_plugin::LabeledError
source · [−]Fields
label: Stringmsg: Stringspan: Option<Span>Trait Implementations
sourceimpl Clone for LabeledError
impl Clone for LabeledError
sourcefn clone(&self) -> LabeledError
fn clone(&self) -> LabeledError
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for LabeledError
impl Debug for LabeledError
sourceimpl<'de> Deserialize<'de> for LabeledError
impl<'de> Deserialize<'de> for LabeledError
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl From<LabeledError> for ShellError
impl From<LabeledError> for ShellError
sourcefn from(error: LabeledError) -> Self
fn from(error: LabeledError) -> Self
Converts to this type from the input type.
sourceimpl From<ShellError> for LabeledError
impl From<ShellError> for LabeledError
sourcefn from(error: ShellError) -> Self
fn from(error: ShellError) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<LabeledError> for LabeledError
impl PartialEq<LabeledError> for LabeledError
sourcefn eq(&self, other: &LabeledError) -> bool
fn eq(&self, other: &LabeledError) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &LabeledError) -> bool
fn ne(&self, other: &LabeledError) -> bool
This method tests for !=.
sourceimpl Serialize for LabeledError
impl Serialize for LabeledError
impl StructuralPartialEq for LabeledError
Auto Trait Implementations
impl RefUnwindSafe for LabeledError
impl Send for LabeledError
impl Sync for LabeledError
impl Unpin for LabeledError
impl UnwindSafe for LabeledError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Serialize for T where
T: Serialize + ?Sized,
impl<T> Serialize for T where
T: Serialize + ?Sized,
fn erased_serialize(&self, serializer: &mut dyn Serializer) -> Result<Ok, Error>
impl<T> ToJson for T where
T: Serialize + ?Sized,
impl<T> ToJson for T where
T: Serialize + ?Sized,
fn to_json(&self) -> Value
fn to_json(&self) -> Value
Converts the value of self to an instance of Hjson
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more