Enum Ms
#[repr(u8)]pub enum Ms {
MasterOff = 0,
TimeSlave = 1,
BackupTimeMaster = 2,
CurrentTimeMaster = 3,
}Variants§
MasterOff = 0
Master_Off, no master properties relevant
TimeSlave = 1
Operating as time slave
BackupTimeMaster = 2
Operating as backup time master
CurrentTimeMaster = 3
Operating as current time master
Implementations§
Trait Implementations§
impl Copy for Ms
impl Eq for Ms
§impl Ord for Ms
impl Ord for Ms
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
§impl PartialOrd for Ms
impl PartialOrd for Ms
impl StructuralPartialEq for Ms
Auto Trait Implementations§
impl Freeze for Ms
impl RefUnwindSafe for Ms
impl Send for Ms
impl Sync for Ms
impl Unpin for Ms
impl UnsafeUnpin for Ms
impl UnwindSafe for Ms
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