pub enum ClockDomain {
HostSteady,
HostWall,
Sensor,
External,
}Expand description
Semantic class of a clock domain.
Variants§
HostSteady
Host monotonic / steady clock.
HostWall
Host wall / UTC-aligned clock.
Sensor
Sensor-local free-running clock.
External
Externally synchronized domain (PTP/NTP/ROS /clock).
Trait Implementations§
Source§impl Clone for ClockDomain
impl Clone for ClockDomain
Source§fn clone(&self) -> ClockDomain
fn clone(&self) -> ClockDomain
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ClockDomain
impl Debug for ClockDomain
Source§impl Default for ClockDomain
impl Default for ClockDomain
Source§fn default() -> ClockDomain
fn default() -> ClockDomain
Returns the “default value” for a type. Read more
Source§impl Hash for ClockDomain
impl Hash for ClockDomain
Source§impl PartialEq for ClockDomain
impl PartialEq for ClockDomain
Source§fn eq(&self, other: &ClockDomain) -> bool
fn eq(&self, other: &ClockDomain) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ClockDomain
impl Eq for ClockDomain
impl StructuralPartialEq for ClockDomain
Auto Trait Implementations§
impl Freeze for ClockDomain
impl RefUnwindSafe for ClockDomain
impl Send for ClockDomain
impl Sync for ClockDomain
impl Unpin for ClockDomain
impl UnsafeUnpin for ClockDomain
impl UnwindSafe for ClockDomain
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