pub enum ClockType {
RosTime = 1,
SystemTime = 2,
SteadyTime = 3,
}
Expand description
Enum to describe clock type. Redefined for readability and to eliminate the uninitialized case
from the rcl_clock_type_t
enum in the binding.
Variants§
RosTime = 1
Time with behavior dependent on the set_ros_time(bool)
function. If called with true
it will be driven by a manual value override, otherwise it will be System Time
SystemTime = 2
Wall time depending on the current system
SteadyTime = 3
Steady time, monotonically increasing but not necessarily equal to wall time.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ClockType
impl RefUnwindSafe for ClockType
impl Send for ClockType
impl Sync for ClockType
impl Unpin for ClockType
impl UnwindSafe for ClockType
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