Enum sbp::time::MessageTime
source · pub enum MessageTime {
Rover(RoverTime),
Base(BaseTime),
}
Expand description
The time returned by SbpMessage::gps_time.
Variants§
Rover(RoverTime)
Time received via a message from a rover.
Base(BaseTime)
Time received via a message from a base station.
Implementations§
Trait Implementations§
source§impl Clone for MessageTime
impl Clone for MessageTime
source§fn clone(&self) -> MessageTime
fn clone(&self) -> MessageTime
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 MessageTime
impl Debug for MessageTime
source§impl From<BaseTime> for MessageTime
impl From<BaseTime> for MessageTime
source§impl From<RoverTime> for MessageTime
impl From<RoverTime> for MessageTime
impl Copy for MessageTime
Auto Trait Implementations§
impl Freeze for MessageTime
impl RefUnwindSafe for MessageTime
impl Send for MessageTime
impl Sync for MessageTime
impl Unpin for MessageTime
impl UnwindSafe for MessageTime
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