pub enum NtpError {
ServiceUnavailable(String),
BadNtpServerAddr(String),
UnexpectedErr(String),
TruncatedNtpMessage,
UntrustedMessage,
}Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for NtpError
impl RefUnwindSafe for NtpError
impl Send for NtpError
impl Sync for NtpError
impl Unpin for NtpError
impl UnwindSafe for NtpError
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