pub enum NpmCommandParseError {
Empty,
Unknown,
}Expand description
Error returned while parsing npm commands.
Variants§
Trait Implementations§
Source§impl Clone for NpmCommandParseError
impl Clone for NpmCommandParseError
Source§fn clone(&self) -> NpmCommandParseError
fn clone(&self) -> NpmCommandParseError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for NpmCommandParseError
impl Debug for NpmCommandParseError
Source§impl Display for NpmCommandParseError
impl Display for NpmCommandParseError
Source§impl Error for NpmCommandParseError
impl Error for NpmCommandParseError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for NpmCommandParseError
impl PartialEq for NpmCommandParseError
Source§fn eq(&self, other: &NpmCommandParseError) -> bool
fn eq(&self, other: &NpmCommandParseError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for NpmCommandParseError
impl Eq for NpmCommandParseError
impl StructuralPartialEq for NpmCommandParseError
Auto Trait Implementations§
impl Freeze for NpmCommandParseError
impl RefUnwindSafe for NpmCommandParseError
impl Send for NpmCommandParseError
impl Sync for NpmCommandParseError
impl Unpin for NpmCommandParseError
impl UnsafeUnpin for NpmCommandParseError
impl UnwindSafe for NpmCommandParseError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more