pub enum ErrorCode {
Show 15 variants
Datagram,
NoError,
StreamCreation,
ClosedCriticalStream,
FrameUnexpected,
Frame,
ExcessiveLoad,
Id,
Settings,
MissingSettings,
RequestRejected,
Message,
Decompression,
BufferedStreamRejected,
SessionGone,
}Expand description
HTTP3 protocol errors.
Variants§
Datagram
H3_DATAGRAM_ERROR.
NoError
H3_NO_ERROR.
StreamCreation
H3_STREAM_CREATION_ERROR.
ClosedCriticalStream
H3_CLOSED_CRITICAL_STREAM.
FrameUnexpected
H3_FRAME_UNEXPECTED.
Frame
H3_FRAME_ERROR.
ExcessiveLoad
H3_EXCESSIVE_LOAD.
Id
H3_ID_ERROR.
Settings
H3_SETTINGS_ERROR.
MissingSettings
H3_MISSING_SETTINGS.
RequestRejected
H3_REQUEST_REJECTED.
Message
H3_MESSAGE_ERROR.
Decompression
QPACK_DECOMPRESSION_FAILED.
BufferedStreamRejected
WEBTRANSPORT_BUFFERED_STREAM_REJECTED.
SessionGone
WEBTRANSPORT_SESSION_GONE.
Implementations§
Trait Implementations§
Source§impl Error for ErrorCode
impl Error for ErrorCode
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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()
impl Copy for ErrorCode
impl Eq for ErrorCode
impl StructuralPartialEq for ErrorCode
Auto Trait Implementations§
impl Freeze for ErrorCode
impl RefUnwindSafe for ErrorCode
impl Send for ErrorCode
impl Sync for ErrorCode
impl Unpin for ErrorCode
impl UnwindSafe for ErrorCode
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