Enum ntp_proto::NtpAssociationMode
source · pub enum NtpAssociationMode {
Reserved,
SymmetricActive,
SymmetricPassive,
Client,
Server,
Broadcast,
Control,
Private,
}Variants§
Trait Implementations§
source§impl Clone for NtpAssociationMode
impl Clone for NtpAssociationMode
source§fn clone(&self) -> NtpAssociationMode
fn clone(&self) -> NtpAssociationMode
Returns a copy of the value. Read more
1.0.0 · 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 NtpAssociationMode
impl Debug for NtpAssociationMode
source§impl PartialEq<NtpAssociationMode> for NtpAssociationMode
impl PartialEq<NtpAssociationMode> for NtpAssociationMode
source§fn eq(&self, other: &NtpAssociationMode) -> bool
fn eq(&self, other: &NtpAssociationMode) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for NtpAssociationMode
impl Eq for NtpAssociationMode
impl StructuralEq for NtpAssociationMode
impl StructuralPartialEq for NtpAssociationMode
Auto Trait Implementations§
impl RefUnwindSafe for NtpAssociationMode
impl Send for NtpAssociationMode
impl Sync for NtpAssociationMode
impl Unpin for NtpAssociationMode
impl UnwindSafe for NtpAssociationMode
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