#[non_exhaustive]pub enum SourceType {
Pps,
Sock,
Ntp,
Csptp,
}Expand description
The type of a used source of time.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for SourceType
impl Clone for SourceType
impl Copy for SourceType
Source§impl Debug for SourceType
impl Debug for SourceType
impl Eq for SourceType
Source§impl Hash for SourceType
impl Hash for SourceType
Source§impl PartialEq for SourceType
impl PartialEq for SourceType
impl StructuralPartialEq for SourceType
Auto Trait Implementations§
impl Freeze for SourceType
impl RefUnwindSafe for SourceType
impl Send for SourceType
impl Sync for SourceType
impl Unpin for SourceType
impl UnsafeUnpin for SourceType
impl UnwindSafe for SourceType
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