Enum http_box::http2::ErrorCode [] [src]

#[repr(u8)]
pub enum ErrorCode { Cancel, Compression, Connect, EnhanceYourCalm, FlowControl, FrameSize, Http11Required, InadequateSecurity, NoError, Internal, Protocol, RefusedStream, SettingsTimeout, StreamClosed, Unsupported, }

Error codes.

Variants

Cancel error.

Compression error.

Connect error.

Enhance your calm error.

Flow control error.

Frame size error.

HTTP/1.1 required error.

Inadequate security error.

No error.

Internal error.

Protocol error.

Refused stream error.

Settings timeout error.

Stream closed error.

Unsupported error.

Methods

impl ErrorCode
[src]

Create a new ErrorCode from a u8.

Convert this error code to byte value.

Indicates that this an ErrorCode::Cancel.

Indicates that this an ErrorCode::Compression.

Indicates that this an ErrorCode::Connect.

Indicates that this an ErrorCode::EnhanceYourCalm.

Indicates that this an ErrorCode::FlowControl.

Indicates that this an ErrorCode::FrameSize.

Indicates that this an ErrorCode::Http11Required.

Indicates that this an ErrorCode::InadequateSecurity.

Indicates that this an ErrorCode::Internal.

Indicates that this an ErrorCode::NoError.

Indicates that this an ErrorCode::Protocol.

Indicates that this an ErrorCode::RefusedStream.

Indicates that this an ErrorCode::SettingsTimeout.

Indicates that this an ErrorCode::StreamClosed.

Trait Implementations

impl Clone for ErrorCode
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for ErrorCode
[src]

impl PartialEq for ErrorCode
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.