#[non_exhaustive]pub enum Unevaluated {
#[non_exhaustive] UnsupportedScheme {
event_id: i64,
scheme: String,
},
#[non_exhaustive] Malformed {
event_id: i64,
detail: String,
},
#[non_exhaustive] UnknownEventType {
event_id: i64,
event_type: String,
},
}Expand description
Why an event could not be evaluated.
Experimental: may change in a 0.x minor release.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
#[non_exhaustive]UnsupportedScheme
A range whose vers type the evaluating method does not compare
(anything but semver and npm for Cle::status_for_semver,
anything but pypi for Cle::status_for_pypi).
Fields
This variant is marked as non-exhaustive
Non-exhaustive enum variants could have additional fields added in future. Therefore, non-exhaustive enum variants cannot be constructed in external crates and cannot be matched against.
#[non_exhaustive]Malformed
A specifier that does not parse or validate, or an event missing a field its type needs.
Fields
This variant is marked as non-exhaustive
Non-exhaustive enum variants could have additional fields added in future. Therefore, non-exhaustive enum variants cannot be constructed in external crates and cannot be matched against.
#[non_exhaustive]UnknownEventType
An event type this SDK does not know.
Trait Implementations§
Source§impl Clone for Unevaluated
impl Clone for Unevaluated
Source§impl Debug for Unevaluated
impl Debug for Unevaluated
impl Eq for Unevaluated
Source§impl PartialEq for Unevaluated
impl PartialEq for Unevaluated
impl StructuralPartialEq for Unevaluated
Auto Trait Implementations§
impl Forget for Unevaluated
impl Freeze for Unevaluated
impl Move for Unevaluated
impl RefUnwindSafe for Unevaluated
impl Send for Unevaluated
impl Sync for Unevaluated
impl Unpin for Unevaluated
impl UnsafeUnpin for Unevaluated
impl UnwindSafe for Unevaluated
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