Enum ais::sentence::AisFragments
source · pub enum AisFragments {
Complete(AisSentence),
Incomplete(AisSentence),
}
Variants§
Complete(AisSentence)
Incomplete(AisSentence)
Trait Implementations§
source§impl Debug for AisFragments
impl Debug for AisFragments
source§impl From<AisFragments> for Option<AisSentence>
impl From<AisFragments> for Option<AisSentence>
source§fn from(frag: AisFragments) -> Self
fn from(frag: AisFragments) -> Self
Converts to this type from the input type.
source§impl From<AisFragments> for Result<AisSentence>
impl From<AisFragments> for Result<AisSentence>
source§fn from(frag: AisFragments) -> Self
fn from(frag: AisFragments) -> Self
Converts to this type from the input type.
source§impl PartialEq for AisFragments
impl PartialEq for AisFragments
source§fn eq(&self, other: &AisFragments) -> bool
fn eq(&self, other: &AisFragments) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AisFragments
Auto Trait Implementations§
impl RefUnwindSafe for AisFragments
impl Send for AisFragments
impl Sync for AisFragments
impl Unpin for AisFragments
impl UnwindSafe for AisFragments
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