Enum MatchesError

enum MatchesError

Violation of [ArgMatches][crate::ArgMatches] assumptions

Variants

Downcast { actual: self::any_value::AnyValueId, expected: self::any_value::AnyValueId }

Failed to downcast AnyValue to the specified type

UnknownArgument { }

Argument not defined in [Command][crate::Command]

Implementations

impl Clone for MatchesError

fn clone(self: &Self) -> MatchesError

impl Debug for MatchesError

fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result

impl Display for MatchesError

fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result

impl Error for MatchesError

impl Freeze for MatchesError

impl RefUnwindSafe for MatchesError

impl Send for MatchesError

impl Sync for MatchesError

impl Unpin for MatchesError

impl UnsafeUnpin for MatchesError

impl UnwindSafe for MatchesError

impl<T> Any for MatchesError

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for MatchesError

fn borrow(self: &Self) -> &T

impl<T> BorrowMut for MatchesError

fn borrow_mut(self: &mut Self) -> &mut T

impl<T> CloneToUninit for MatchesError

unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)

impl<T> From for MatchesError

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> ToOwned for MatchesError

fn to_owned(self: &Self) -> T
fn clone_into(self: &Self, target: &mut T)

impl<T> ToString for MatchesError

fn to_string(self: &Self) -> String

impl<T, U> Into for MatchesError

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom for MatchesError

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto for MatchesError

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>