pub enum Context {
SelfVessel,
Other(String),
}Expand description
Whose data a delta is about.
Variants§
SelfVessel
This vessel.
Other(String)
Somebody else – an AIS target, or another boat the server knows about. Kept rather than dropped so the caller can decide; feeding another vessel’s position into own-ship display is the kind of mistake that only shows up at sea.
Trait Implementations§
impl Eq for Context
impl StructuralPartialEq for Context
Auto Trait Implementations§
impl Freeze for Context
impl RefUnwindSafe for Context
impl Send for Context
impl Sync for Context
impl Unpin for Context
impl UnsafeUnpin for Context
impl UnwindSafe for Context
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