Struct quicr_core::TransportError [−][src]
pub struct TransportError(_);
Methods
impl Error
[src]
impl Error
impl Error
[src]
impl Error
pub const NO_ERROR: Self
NO_ERROR: Self = Error(0)
the connection is being closed abruptly in the absence of any error
pub const INTERNAL_ERROR: Self
INTERNAL_ERROR: Self = Error(1)
the endpoint encountered an internal error and cannot continue with the connection
pub const SERVER_BUSY: Self
SERVER_BUSY: Self = Error(2)
the server is currently busy and does not accept any new connections
pub const FLOW_CONTROL_ERROR: Self
FLOW_CONTROL_ERROR: Self = Error(3)
an endpoint received more data than it permitted in its advertised data limits
pub const STREAM_ID_ERROR: Self
STREAM_ID_ERROR: Self = Error(4)
an endpoint received a frame for a stream identifier that exceeded its advertised maximum stream ID
pub const STREAM_STATE_ERROR: Self
STREAM_STATE_ERROR: Self = Error(5)
an endpoint received a frame for a stream that was not in a state that permitted that frame
pub const FINAL_OFFSET_ERROR: Self
FINAL_OFFSET_ERROR: Self = Error(6)
an endpoint received a STREAM frame containing data that exceeded the previously established final offset, or a RST_STREAM frame containing a final offset that was lower than the maximum offset of data that was already received, or a RST_STREAM frame containing a different final offset to the one already established
pub const FRAME_FORMAT_ERROR: Self
FRAME_FORMAT_ERROR: Self = Error(7)
an endpoint received a frame that was badly formatted. For instance, an empty STREAM frame that omitted the FIN flag, or an ACK frame that has more acknowledgment ranges than the remainder of the packet could carry
pub const TRANSPORT_PARAMETER_ERROR: Self
TRANSPORT_PARAMETER_ERROR: Self = Error(8)
an endpoint received transport parameters that were badly formatted, included an invalid value, was absent even though it is mandatory, was present though it is forbidden, or is otherwise in error
pub const VERSION_NEGOTIATION_ERROR: Self
VERSION_NEGOTIATION_ERROR: Self = Error(9)
an endpoint received transport parameters that contained version negotiation parameters that disagreed with the version negotiation that it performed, constituting a potential version downgrade attack
pub const PROTOCOL_VIOLATION: Self
PROTOCOL_VIOLATION: Self = Error(10)
an endpoint detected an error with protocol compliance that was not covered by more specific error codes
pub const UNSOLICITED_PATH_RESPONSE: Self
UNSOLICITED_PATH_RESPONSE: Self = Error(11)
an endpoint received a PATH_RESPONSE frame that did not correspond to any PATH_CHALLENGE frame that it previously sent
pub const TLS_HANDSHAKE_FAILED: Self
TLS_HANDSHAKE_FAILED: Self = Error(513)
the TLS handshake failed
pub const TLS_FATAL_ALERT_GENERATED: Self
TLS_FATAL_ALERT_GENERATED: Self = Error(514)
a TLS fatal alert was sent, causing the TLS connection to end prematurely
pub const TLS_FATAL_ALERT_RECEIVED: Self
TLS_FATAL_ALERT_RECEIVED: Self = Error(515)
a TLS fatal alert was received, causing the TLS connection to end prematurely
Trait Implementations
impl From<TransportError> for ConnectionClose
[src]
impl From<TransportError> for ConnectionClose
fn from(x: TransportError) -> Self
[src]
fn from(x: TransportError) -> Self
Performs the conversion.
impl From<TransportError> for ConnectionError
[src]
impl From<TransportError> for ConnectionError
fn from(x: TransportError) -> Self
[src]
fn from(x: TransportError) -> Self
Performs the conversion.
impl Debug for Error
[src]
impl Debug for Error
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Copy for Error
[src]
impl Copy for Error
impl Clone for Error
[src]
impl Clone for Error
fn clone(&self) -> Error
[src]
fn clone(&self) -> Error
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Eq for Error
[src]
impl Eq for Error
impl PartialEq for Error
[src]
impl PartialEq for Error
fn eq(&self, other: &Error) -> bool
[src]
fn eq(&self, other: &Error) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Error) -> bool
[src]
fn ne(&self, other: &Error) -> bool
This method tests for !=
.
impl From<Error> for u16
[src]
impl From<Error> for u16
impl Display for Error
[src]
impl Display for Error
Auto Trait Implementations
impl Send for TransportError
impl Send for TransportError
impl Sync for TransportError
impl Sync for TransportError