Enum quinn::Error [−][src]
pub enum Error {
Socket(Error),
Tls(TLSError),
Keylog(Error),
ProtocolTooLong(Box<[u8]>),
InvalidDnsName(String),
WebPki(Error),
}Errors that can occur during the construction of an Endpoint.
Variants
Socket(Error)An error during setup of the underlying UDP socket.
Tls(TLSError)An error configuring TLS.
Keylog(Error)An error opening a file for logging TLS keys.
ProtocolTooLong(Box<[u8]>)A supplied protocol identifier was too long
InvalidDnsName(String)The DNS name was invalid for use in TLS
WebPki(Error)Errors relating to web PKI infrastructure
Trait Implementations
impl Debug for Error[src]
impl Debug for Errorfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl From<EndpointError> for Error[src]
impl From<EndpointError> for Errorfn from(x: EndpointError) -> Self[src]
fn from(x: EndpointError) -> SelfPerforms the conversion.
impl From<Error> for Error[src]
impl From<Error> for Error