pub enum GpsdError {
IoError(Error),
JsonError(Error),
UnsupportedGpsdProtocolVersion,
UnexpectedGpsdReply(String),
WatchFail(String),
}Expand description
Errors during handshake or data acquisition.
Variants§
IoError(Error)
Generic I/O error.
JsonError(Error)
JSON error.
UnsupportedGpsdProtocolVersion
The protocol version reported by gpsd is smaller PROTO_MAJOR_MIN.
UnexpectedGpsdReply(String)
Unexpected reply of gpsd.
WatchFail(String)
Failed to enable watch.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for GpsdError
impl !UnwindSafe for GpsdError
impl Freeze for GpsdError
impl Send for GpsdError
impl Sync for GpsdError
impl Unpin for GpsdError
impl UnsafeUnpin for GpsdError
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