pub struct ParseTargetError(/* private fields */);Expand description
Error returned when parsing a Target from a string.
Trait Implementations§
Source§impl Clone for ParseTargetError
impl Clone for ParseTargetError
Source§fn clone(&self) -> ParseTargetError
fn clone(&self) -> ParseTargetError
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 ParseTargetError
impl Debug for ParseTargetError
Source§impl Display for ParseTargetError
impl Display for ParseTargetError
Source§impl Error for ParseTargetError
Available on crate feature std only.
impl Error for ParseTargetError
Available on crate feature
std only.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<Infallible> for ParseTargetError
impl From<Infallible> for ParseTargetError
Source§fn from(never: Infallible) -> Self
fn from(never: Infallible) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ParseTargetError
impl PartialEq for ParseTargetError
Source§fn eq(&self, other: &ParseTargetError) -> bool
fn eq(&self, other: &ParseTargetError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ParseTargetError
impl StructuralPartialEq for ParseTargetError
Auto Trait Implementations§
impl Freeze for ParseTargetError
impl RefUnwindSafe for ParseTargetError
impl Send for ParseTargetError
impl Sync for ParseTargetError
impl Unpin for ParseTargetError
impl UnsafeUnpin for ParseTargetError
impl UnwindSafe for ParseTargetError
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