[−][src]Enum cfg_expr::error::Reason
The particular reason for a ParseError
Variants
InvalidNot(u8)
not() takes exactly 1 predicate, unlike all() and any()
The characters are not valid in an SDPX license expression
An opening parens was unmatched with a closing parens
A closing parens was unmatched with an opening parens
An opening quotes was unmatched with a closing quotes
A closing quotes was unmatched with an opening quotes
The expression does not contain any valid terms
Unexpected(&'static [&'static str])
Found an unexpected term, which wasn't one of the expected terms that is listed
Failed to parse an integer value
The root cfg() may only contain a single predicate
Trait Implementations
impl Debug for Reason
[src]
impl Display for Reason
[src]
impl PartialEq<Reason> for Reason
[src]
impl StructuralPartialEq for Reason
[src]
Auto Trait Implementations
impl RefUnwindSafe for Reason
impl Send for Reason
impl Sync for Reason
impl Unpin for Reason
impl UnwindSafe for Reason
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,