Struct target_spec::errors::TripleParseError  
source · [−]pub struct TripleParseError { /* private fields */ }Expand description
An error returned while parsing a single target.
This is caused by a triple not being understood by either cfg-expr or target-lexicon.
Implementations
sourceimpl 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
sourceimpl Debug for TripleParseError
 
impl Debug for TripleParseError
sourceimpl Display for TripleParseError
 
impl Display for TripleParseError
sourceimpl Error for TripleParseError
 
impl Error for TripleParseError
sourcefn source(&self) -> Option<&(dyn Error + 'static)>
 
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · sourcefn description(&self) -> &str
 
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
sourceimpl PartialEq<TripleParseError> for TripleParseError
 
impl PartialEq<TripleParseError> for TripleParseError
sourcefn eq(&self, other: &TripleParseError) -> bool
 
fn eq(&self, other: &TripleParseError) -> bool
impl Eq for TripleParseError
impl StructuralEq for TripleParseError
impl StructuralPartialEq for TripleParseError
Auto Trait Implementations
impl RefUnwindSafe for TripleParseError
impl Send for TripleParseError
impl Sync for TripleParseError
impl Unpin for TripleParseError
impl UnwindSafe for TripleParseError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
    T: ?Sized,
 
impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more