Enum collisions::Severity [−][src]
pub enum Severity { Slight, Serious, Fatal, }
A simple ranking for how severe the collision was. Different agencies use different classification systems, each of which likely has their own nuance and bias. This is deliberately simplified.
Variants
Trait Implementations
impl<'de> Deserialize<'de> for Severity
[src]
impl<'de> Deserialize<'de> for Severity
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Copy for Severity
[src]
impl Eq for Severity
[src]
impl StructuralEq for Severity
[src]
impl StructuralPartialEq for Severity
[src]
Auto Trait Implementations
impl RefUnwindSafe for Severity
impl Send for Severity
impl Sync for Severity
impl Unpin for Severity
impl UnwindSafe for Severity
Blanket Implementations
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]pub fn equivalent(&self, key: &K) -> bool
[src]
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,