pub enum AuthSelectMode {
Require,
Prefer,
Mix,
Ignore,
}Expand description
Authentication selection mode for NTP sources.
Controls how chrony selects among sources with different authentication statuses.
Variants§
Require
Require authenticated sources.
Prefer
Prefer authenticated sources but accept unauthenticated ones.
Mix
Mix authenticated and unauthenticated sources.
Ignore
Ignore authentication status in source selection.
Trait Implementations§
Source§impl Clone for AuthSelectMode
impl Clone for AuthSelectMode
Source§fn clone(&self) -> AuthSelectMode
fn clone(&self) -> AuthSelectMode
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 AuthSelectMode
impl Debug for AuthSelectMode
Source§impl PartialEq for AuthSelectMode
impl PartialEq for AuthSelectMode
Source§fn eq(&self, other: &AuthSelectMode) -> bool
fn eq(&self, other: &AuthSelectMode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for AuthSelectMode
impl Eq for AuthSelectMode
impl StructuralPartialEq for AuthSelectMode
Auto Trait Implementations§
impl Freeze for AuthSelectMode
impl RefUnwindSafe for AuthSelectMode
impl Send for AuthSelectMode
impl Sync for AuthSelectMode
impl Unpin for AuthSelectMode
impl UnsafeUnpin for AuthSelectMode
impl UnwindSafe for AuthSelectMode
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