pub enum Severity {
Unsafe,
Unsurveyed,
Coarse,
Caution,
}Expand description
How much a finding matters.
Declaration order is the ranking, worst first: a danger outranks
silence, silence outranks a coarse answer, and all three outrank
an advisory. Unsurveyed and Coarse rank above Caution because
they describe how far the check itself can be trusted, not a
property of the water.
Variants§
Unsafe
The vessel cannot pass here: land, water shallower than the safety contour, or a danger whose depth is unknown.
Unsurveyed
The chart has no coverage here. Reports an unanswered question, not clear water.
Coarse
There is data, but it was compiled at a scale too small to answer the question that was asked of it. A clear result here means “no danger was drawn at this scale”, which is a weaker statement than “there is no danger”.
Caution
Passable, but the mariner has to know: a restricted area, a traffic separation scheme, a cable field nobody should anchor in.
Trait Implementations§
impl Copy for Severity
impl Eq for Severity
Source§impl Ord for Severity
impl Ord for Severity
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl PartialOrd for Severity
impl PartialOrd for Severity
impl StructuralPartialEq for Severity
Auto Trait Implementations§
impl Freeze for Severity
impl RefUnwindSafe for Severity
impl Send for Severity
impl Sync for Severity
impl Unpin for Severity
impl UnsafeUnpin for Severity
impl UnwindSafe for Severity
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more