#[non_exhaustive]pub enum NavigationStatus {
Show 14 variants
UnderWayEngine,
AtAnchor,
NotUnderCommand,
RestrictedManeuverability,
ConstrainedByDraught,
Moored,
Aground,
EngagedInFishing,
UnderWaySailing,
ReservedHsc,
ReservedWig,
Reserved(u8),
AisSartActive,
Undefined,
}Expand description
AIS Navigation Status (4 bits, 0-15).
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.
UnderWayEngine
AtAnchor
NotUnderCommand
RestrictedManeuverability
ConstrainedByDraught
Moored
Aground
EngagedInFishing
UnderWaySailing
ReservedHsc
ReservedWig
Reserved(u8)
AisSartActive
Undefined
Trait Implementations§
Source§fn clone(&self) -> NavigationStatus
fn clone(&self) -> NavigationStatus
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§fn from(val: NavigationStatus) -> Self
fn from(val: NavigationStatus) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
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