[−][src]Enum rsntp::KissCode
Kiss code, reason of a Kiss-o'-Death reply.
Kiss code provides an information about why the SNTP server sent a Kiss-o'-Death packet, i.e. why the request is rejected. This enum is generally a 1-to-1 mapping for SNTP RFC kiss codes, see RFC 4330 section 8.
Variants
Unknown code
The association belongs to a anycast server
The association belongs to a broadcast server
The association belongs to a manycast server
Server authentication failed
Autokey sequence failed
Cryptographic authentication or identification failed
Access denied by remote server
Lost peer in symmetric mode
The association has not yet synchronized for the first time
No key found. Either the key was never installed or is not trusted
Rate exceeded. The server has temporarily denied access because the client exceeded the rate threshold
Somebody is tinkering with the association from a remote host running ntpdc. Not to worry unless some rascal has stolen your keys
A step change in system time has occurred, but the association has not yet resynchronized
Trait Implementations
impl Clone for KissCode
[src]
impl Copy for KissCode
[src]
impl Debug for KissCode
[src]
impl Display for KissCode
[src]
impl Eq for KissCode
[src]
impl Hash for KissCode
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl PartialEq<KissCode> for KissCode
[src]
fn eq(&self, other: &KissCode) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralEq for KissCode
[src]
impl StructuralPartialEq for KissCode
[src]
Auto Trait Implementations
impl RefUnwindSafe for KissCode
[src]
impl Send for KissCode
[src]
impl Sync for KissCode
[src]
impl Unpin for KissCode
[src]
impl UnwindSafe for KissCode
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,