pub struct TargetParseError {
pub input: String,
pub message: String,
}Expand description
Error returned when a target triple fails to parse.
Fields§
§input: String§message: StringTrait Implementations§
Source§impl Clone for TargetParseError
impl Clone for TargetParseError
Source§fn clone(&self) -> TargetParseError
fn clone(&self) -> TargetParseError
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 TargetParseError
impl Debug for TargetParseError
Source§impl Display for TargetParseError
impl Display for TargetParseError
Source§impl Error for TargetParseError
impl Error for TargetParseError
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 TargetParseError
impl PartialEq for TargetParseError
impl Eq for TargetParseError
impl StructuralPartialEq for TargetParseError
Auto Trait Implementations§
impl Freeze for TargetParseError
impl RefUnwindSafe for TargetParseError
impl Send for TargetParseError
impl Sync for TargetParseError
impl Unpin for TargetParseError
impl UnsafeUnpin for TargetParseError
impl UnwindSafe for TargetParseError
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