Enum sbp::time::GpsTimeError
source · pub enum GpsTimeError {
InvalidGpsTime(InvalidGpsTime),
TryFromIntError(TryFromIntError),
}
Variants§
InvalidGpsTime(InvalidGpsTime)
TryFromIntError(TryFromIntError)
Trait Implementations§
source§impl Clone for GpsTimeError
impl Clone for GpsTimeError
source§fn clone(&self) -> GpsTimeError
fn clone(&self) -> GpsTimeError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for GpsTimeError
impl Debug for GpsTimeError
source§impl Display for GpsTimeError
impl Display for GpsTimeError
source§impl Error for GpsTimeError
impl Error for GpsTimeError
1.30.0 · source§fn 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 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<Infallible> for GpsTimeError
impl From<Infallible> for GpsTimeError
source§fn from(_: Infallible) -> Self
fn from(_: Infallible) -> Self
Converts to this type from the input type.
source§impl From<InvalidGpsTime> for GpsTimeError
impl From<InvalidGpsTime> for GpsTimeError
source§fn from(e: InvalidGpsTime) -> Self
fn from(e: InvalidGpsTime) -> Self
Converts to this type from the input type.
source§impl From<TryFromIntError> for GpsTimeError
impl From<TryFromIntError> for GpsTimeError
source§fn from(e: TryFromIntError) -> Self
fn from(e: TryFromIntError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for GpsTimeError
impl RefUnwindSafe for GpsTimeError
impl Send for GpsTimeError
impl Sync for GpsTimeError
impl Unpin for GpsTimeError
impl UnwindSafe for GpsTimeError
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