pub enum AprsError {
Show 14 variants
EmptyCallsign(String),
EmptySSID(String),
InvalidSSID(String),
InvalidTimestamp(String),
UnsupportedPositionFormat(String),
InvalidPosition(String),
InvalidLatitude(String),
InvalidLongitude(String),
InvalidPacket(String),
InvalidMessageDestination(String),
InvalidMessageId(String),
InvalidCoding(String),
InvalidServerComment(String),
TimestampOutOfRange(String),
}
Variants§
EmptyCallsign(String)
EmptySSID(String)
InvalidSSID(String)
InvalidTimestamp(String)
UnsupportedPositionFormat(String)
InvalidPosition(String)
InvalidLatitude(String)
InvalidLongitude(String)
InvalidPacket(String)
InvalidMessageDestination(String)
InvalidMessageId(String)
InvalidCoding(String)
InvalidServerComment(String)
TimestampOutOfRange(String)
Trait Implementations§
Source§impl Error for AprsError
impl Error for AprsError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
impl Eq for AprsError
impl StructuralPartialEq for AprsError
Auto Trait Implementations§
impl Freeze for AprsError
impl RefUnwindSafe for AprsError
impl Send for AprsError
impl Sync for AprsError
impl Unpin for AprsError
impl UnwindSafe for AprsError
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