#[repr(u64)]pub enum QuicError {
Show 23 variants
NoError = 0,
InternalError = 1,
ConnectionRefused = 2,
FlowControlError = 3,
StreamLimitError = 4,
StreamStateError = 5,
FinalSizeError = 6,
FrameEncodingError = 7,
TransportParameterError = 8,
ConnectionIdLimitError = 9,
ProtocolViolation = 10,
InvalidToken = 11,
ApplicationError = 12,
CryptoBufferExceeded = 13,
KeyUpdateError = 14,
AeadLimitReached = 15,
NoViablePath = 16,
CryptoError = 256,
BufferTooSmall = 4_294_901_761,
InvalidPacket = 4_294_901_762,
InvalidFrame = 4_294_901_763,
ConnectionNotFound = 4_294_901_764,
StreamNotFound = 4_294_901_765,
}Expand description
QUIC transport error codes (RFC 9000 Section 20)
Variants§
NoError = 0
InternalError = 1
ConnectionRefused = 2
FlowControlError = 3
StreamLimitError = 4
StreamStateError = 5
FinalSizeError = 6
FrameEncodingError = 7
TransportParameterError = 8
ConnectionIdLimitError = 9
ProtocolViolation = 10
InvalidToken = 11
ApplicationError = 12
CryptoBufferExceeded = 13
KeyUpdateError = 14
AeadLimitReached = 15
NoViablePath = 16
CryptoError = 256
Crypto-related errors 0x0100-0x01FF
BufferTooSmall = 4_294_901_761
Buffer too small for encoding/decoding
InvalidPacket = 4_294_901_762
Invalid packet format
InvalidFrame = 4_294_901_763
Invalid frame format
ConnectionNotFound = 4_294_901_764
Connection not found
StreamNotFound = 4_294_901_765
Stream not found
Trait Implementations§
impl Copy for QuicError
impl Eq for QuicError
impl StructuralPartialEq for QuicError
Auto Trait Implementations§
impl Freeze for QuicError
impl RefUnwindSafe for QuicError
impl Send for QuicError
impl Sync for QuicError
impl Unpin for QuicError
impl UnwindSafe for QuicError
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)