Struct target_spec::errors::TripleParseError
source · pub struct TripleParseError { /* private fields */ }
Expand description
An error returned while parsing a single target.
This is produced when both of the following are true:
- The triple is not in the builtin set.
- If heuristic parsing is enabled, it failed.
Implementations§
source§impl TripleParseError
impl TripleParseError
sourcepub fn triple_str(&self) -> &str
pub fn triple_str(&self) -> &str
Returns the triple string that could not be parsed.
Trait Implementations§
source§impl Clone for TripleParseError
impl Clone for TripleParseError
source§fn clone(&self) -> TripleParseError
fn clone(&self) -> TripleParseError
Returns a copy 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 TripleParseError
impl Debug for TripleParseError
source§impl Display for TripleParseError
impl Display for TripleParseError
source§impl Error for TripleParseError
impl Error for TripleParseError
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 TripleParseError
impl PartialEq for TripleParseError
impl Eq for TripleParseError
impl StructuralPartialEq for TripleParseError
Auto Trait Implementations§
impl Freeze for TripleParseError
impl RefUnwindSafe for TripleParseError
impl Send for TripleParseError
impl Sync for TripleParseError
impl Unpin for TripleParseError
impl UnwindSafe for TripleParseError
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)