Enum aprs_parser::AprsError
source · pub enum AprsError {
NonUtf8Callsign(Vec<u8>),
EmptyCallsign(String),
EmptySSID(String),
InvalidTimestamp(Vec<u8>),
UnsupportedPositionFormat(Vec<u8>),
InvalidPosition(Vec<u8>),
InvalidLatitude(Vec<u8>),
InvalidLongitude(Vec<u8>),
InvalidPacket(Vec<u8>),
InvalidMessageDestination(Vec<u8>),
InvalidMessageId(Vec<u8>),
InvalidCs([u8; 2]),
}Variants
NonUtf8Callsign(Vec<u8>)
EmptyCallsign(String)
EmptySSID(String)
InvalidTimestamp(Vec<u8>)
UnsupportedPositionFormat(Vec<u8>)
InvalidPosition(Vec<u8>)
InvalidLatitude(Vec<u8>)
InvalidLongitude(Vec<u8>)
InvalidPacket(Vec<u8>)
InvalidMessageDestination(Vec<u8>)
InvalidMessageId(Vec<u8>)
InvalidCs([u8; 2])
Trait Implementations
sourceimpl Error for AprsError
impl Error for AprsError
1.30.0 · sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
impl Eq for AprsError
impl StructuralEq for AprsError
impl StructuralPartialEq for AprsError
Auto Trait Implementations
impl RefUnwindSafe for AprsError
impl Send for AprsError
impl Sync for AprsError
impl Unpin for AprsError
impl UnwindSafe for AprsError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more