Enum ntp_proto::KeyExchangeError
source · pub enum KeyExchangeError {
UnrecognizedCriticalRecord,
BadRequest,
InternalServerError,
UnknownErrorCode(u16),
NoValidProtocol,
NoValidAlgorithm,
NoCookies,
Io(Error),
Tls(Error),
Certificate(Error),
DnsName(InvalidDnsNameError),
IncompleteResponse,
}Variants§
UnrecognizedCriticalRecord
BadRequest
InternalServerError
UnknownErrorCode(u16)
NoValidProtocol
NoValidAlgorithm
NoCookies
Io(Error)
Tls(Error)
Certificate(Error)
DnsName(InvalidDnsNameError)
IncompleteResponse
Trait Implementations§
source§impl Debug for KeyExchangeError
impl Debug for KeyExchangeError
source§impl Display for KeyExchangeError
impl Display for KeyExchangeError
source§impl Error for KeyExchangeError
impl Error for KeyExchangeError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<Error> for KeyExchangeError
impl From<Error> for KeyExchangeError
source§impl From<Error> for KeyExchangeError
impl From<Error> for KeyExchangeError
source§impl From<InvalidDnsNameError> for KeyExchangeError
impl From<InvalidDnsNameError> for KeyExchangeError
source§fn from(source: InvalidDnsNameError) -> Self
fn from(source: InvalidDnsNameError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for KeyExchangeError
impl Send for KeyExchangeError
impl Sync for KeyExchangeError
impl Unpin for KeyExchangeError
impl !UnwindSafe for KeyExchangeError
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