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§impl Debug for MethodPathError
impl Debug for MethodPathError
Source§impl Display for MethodPathError
impl Display for MethodPathError
impl Eq 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
impl StructuralPartialEq for MethodPathError
Auto Trait Implementations§
impl Forget for MethodPathError
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