[−]Enum quic_p2p::Error
Error types encountered during the operation of this library.
Variants
Io(Error)
Error type associated with I/O operations.
Read(ReadError)
Errors encountered while reading from a QUIC stream.
BiDirectionalStreamAttempted(SocketAddr)
Error returned when a Bi-directional stream is attempted by a peer.
Connect(ConnectError)
Errors encountered while creating a new connection.
Connection(ConnectionError)
Errors explaining why an established connection might be lost.
Endpoint(EndpointError)
Errors encountered while creating a new endpoint.
CertificateParseError(ParseError)
Error encountered while parsing a certificate or key.
DuplicateConnectionToPeer(SocketAddr)
Error returned when a duplicate connection to a peer is attempted.
NoEndpointEchoServerFound
Error returned when an endpoint echo server is not found.
OneShotRx(RecvError)
Error returned when a receive operation on a channel fails.
TLS(TLSError)
Errors encountered while establishing TLS.
Bincode(Error)
Error produced when (de)serialisation is unsuccessful.
Base64(DecodeError)
Errors encountered while decoding Base64 values.
Configuration(String)
Error produced when configuration is not understood.
OperationNotAllowed
Error encountered while creating a new connection
ConnectionCancelled
Connection Cancelled
ChannelRecv(RecvError)
Failed receiving from an mpsc::channel
.
Trait Implementations
impl From<Error> for Error
impl From<ReadError> for Error
impl From<ConnectError> for Error
impl From<ConnectionError> for Error
impl From<EndpointError> for Error
fn from(e: EndpointError) -> Error
impl From<ParseError> for Error
fn from(e: ParseError) -> Error
impl From<RecvError> for Error
impl From<TLSError> for Error
impl From<Box<ErrorKind>> for Error
impl From<DecodeError> for Error
fn from(e: DecodeError) -> Error
impl From<RecvError> for Error
impl Display for Error
impl Debug for Error
[src]
impl Error for Error
Auto Trait Implementations
impl Unpin for Error
impl Sync for Error
impl Send for Error
impl !RefUnwindSafe for Error
impl !UnwindSafe for Error
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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.
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,