Enum ntp_proto::IgnoreReason
source · pub enum IgnoreReason {
InvalidPacket,
InvalidMode,
InvalidVersion,
InvalidStratum,
InvalidPacketTime,
KissIgnore,
KissDemobilize,
KissNtsNack,
TooOld,
}Variants§
InvalidPacket
The packet doesn’t parse
InvalidMode
The association mode is not one that this peer supports
InvalidVersion
The NTP version is not one that this implementation supports
InvalidStratum
The stratum of the server is too high
InvalidPacketTime
The send time on the received packet is not the time we sent it at
KissIgnore
Received a Kiss-o’-Death https://datatracker.ietf.org/doc/html/rfc5905#section-7.4
KissDemobilize
Received a DENY or RSTR Kiss-o’-Death, and must demobilize the association
KissNtsNack
Received a matching NTS-Nack, no further action needed.
TooOld
The best packet is older than the peer’s current time
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for IgnoreReason
impl Send for IgnoreReason
impl Sync for IgnoreReason
impl Unpin for IgnoreReason
impl UnwindSafe for IgnoreReason
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