pub enum MethodPathError {
Empty,
InvalidFormat(String),
}Expand description
Why a MethodPath::try_new rejected its input.
Variants§
Trait Implementations§
Source§impl Clone for MethodPathError
impl Clone for MethodPathError
Source§fn clone(&self) -> MethodPathError
fn clone(&self) -> MethodPathError
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 MethodPathError
impl Debug for MethodPathError
Source§impl Display for MethodPathError
impl Display for MethodPathError
Source§impl Error for MethodPathError
impl Error for MethodPathError
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 MethodPathError
impl PartialEq for MethodPathError
Source§fn eq(&self, other: &MethodPathError) -> bool
fn eq(&self, other: &MethodPathError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for MethodPathError
impl StructuralPartialEq for MethodPathError
Auto Trait Implementations§
impl Freeze for MethodPathError
impl RefUnwindSafe for MethodPathError
impl Send for MethodPathError
impl Sync for MethodPathError
impl Unpin for MethodPathError
impl UnsafeUnpin for MethodPathError
impl UnwindSafe for MethodPathError
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.