pub struct MethodParseError(pub String);
Expand description
Represents errors that can occur when parsing the Method
enum.
Tuple Fields§
§0: String
Trait Implementations§
Source§impl Clone for MethodParseError
impl Clone for MethodParseError
Source§fn clone(&self) -> MethodParseError
fn clone(&self) -> MethodParseError
Returns a duplicate of the value. Read more
1.0.0 · 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 MethodParseError
impl Debug for MethodParseError
Source§impl Display for MethodParseError
impl Display for MethodParseError
Source§impl Error for MethodParseError
impl Error for MethodParseError
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 From<MethodParseError> for NetworkInterfacesError
impl From<MethodParseError> for NetworkInterfacesError
Source§fn from(err: MethodParseError) -> Self
fn from(err: MethodParseError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for MethodParseError
impl RefUnwindSafe for MethodParseError
impl Send for MethodParseError
impl Sync for MethodParseError
impl Unpin for MethodParseError
impl UnwindSafe for MethodParseError
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