#[non_exhaustive]pub enum ClearanceEvent {
UnderKeelClearanceLow {
clearance: Distance,
required: Distance,
at: Instant<Utc>,
},
}Expand description
Under-keel clearance events.
#[non_exhaustive]; match with a wildcard arm.
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.
UnderKeelClearanceLow
Under-keel clearance below policy: depth of water minus draught and squat is less than the required margin.
Reported on every evaluation that finds it. Negative clearance (aground) is the same report.
Trait Implementations§
Source§impl Clone for ClearanceEvent
impl Clone for ClearanceEvent
impl Copy for ClearanceEvent
Source§impl Debug for ClearanceEvent
impl Debug for ClearanceEvent
Source§impl Event for ClearanceEvent
impl Event for ClearanceEvent
Source§impl PartialEq for ClearanceEvent
impl PartialEq for ClearanceEvent
impl StructuralPartialEq for ClearanceEvent
Auto Trait Implementations§
impl Freeze for ClearanceEvent
impl RefUnwindSafe for ClearanceEvent
impl Send for ClearanceEvent
impl Sync for ClearanceEvent
impl Unpin for ClearanceEvent
impl UnsafeUnpin for ClearanceEvent
impl UnwindSafe for ClearanceEvent
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