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