Struct target_spec::errors::ExpressionParseError  
source · #[non_exhaustive]pub struct ExpressionParseError {
    pub input: String,
    pub span: Range<usize>,
    pub kind: ExpressionParseErrorKind,
}Expand description
An error returned in case a TargetExpression cannot be parsed.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional 
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.input: StringThe string we tried to parse.
span: Range<usize>The range of characters in the original string that resulted in this error.
kind: ExpressionParseErrorKindThe kind of error that occurred.
Trait Implementations§
source§impl Clone for ExpressionParseError
 
impl Clone for ExpressionParseError
source§fn clone(&self) -> ExpressionParseError
 
fn clone(&self) -> ExpressionParseError
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 ExpressionParseError
 
impl Debug for ExpressionParseError
source§impl Display for ExpressionParseError
 
impl Display for ExpressionParseError
source§impl Error for ExpressionParseError
 
impl Error for ExpressionParseError
1.30.0 · source§fn 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 · source§fn description(&self) -> &str
 
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl PartialEq<ExpressionParseError> for ExpressionParseError
 
impl PartialEq<ExpressionParseError> for ExpressionParseError
source§fn eq(&self, other: &ExpressionParseError) -> bool
 
fn eq(&self, other: &ExpressionParseError) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.impl Eq for ExpressionParseError
impl StructuralEq for ExpressionParseError
impl StructuralPartialEq for ExpressionParseError
Auto Trait Implementations§
impl RefUnwindSafe for ExpressionParseError
impl Send for ExpressionParseError
impl Sync for ExpressionParseError
impl Unpin for ExpressionParseError
impl UnwindSafe for ExpressionParseError
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