pub enum Error {
}
Expand description
A QUIC error.
Variants
Done
There is no more work to do.
BufferTooShort
The provided buffer is too short.
UnknownVersion
The provided packet cannot be parsed because its version is unknown.
InvalidFrame
The provided packet cannot be parsed because it contains an invalid frame.
InvalidPacket
The provided packet cannot be parsed.
InvalidState
The operation cannot be completed because the connection is in an invalid state.
InvalidStreamState(u64)
The operation cannot be completed because the stream is in an invalid state.
The stream ID is provided as associated data.
InvalidTransportParam
The peer’s transport params cannot be parsed.
CryptoFail
A cryptographic operation failed.
TlsFail
The TLS handshake failed.
FlowControl
The peer violated the local flow control limits.
StreamLimit
The peer violated the local stream limits.
StreamStopped(u64)
The specified stream was stopped by the peer.
The error code sent as part of the STOP_SENDING
frame is provided as
associated data.
StreamReset(u64)
The specified stream was reset by the peer.
The error code sent as part of the RESET_STREAM
frame is provided as
associated data.
FinalSize
The received data exceeds the stream’s final size.
CongestionControl
Error in congestion control.
IdLimit
Too many identifiers were provided.
OutOfIdentifiers
Not enough available identifiers.
Trait Implementations
sourceimpl Error for Error
impl Error for Error
sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
sourceimpl From<BufferTooShortError> for Error
impl From<BufferTooShortError> for Error
sourcefn from(_err: BufferTooShortError) -> Self
fn from(_err: BufferTooShortError) -> Self
impl Copy for Error
impl Eq for Error
impl StructuralEq for Error
impl StructuralPartialEq for Error
Auto Trait Implementations
impl RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl UnwindSafe for Error
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.