Enum quinn_proto::ConnectionError [−][src]
pub enum ConnectionError { VersionMismatch, TransportError(TransportError), ConnectionClosed(ConnectionClose), ApplicationClosed(ApplicationClose), Reset, TimedOut, LocallyClosed, }
Reasons why a connection might be lost
Variants
The peer doesn’t implement any supported version
TransportError(TransportError)
The peer violated the QUIC specification as understood by this implementation
ConnectionClosed(ConnectionClose)
The peer’s QUIC stack aborted the connection automatically
ApplicationClosed(ApplicationClose)
The peer closed the connection
The peer is unable to continue processing this connection, usually due to having restarted
Communication with the peer has lapsed for longer than the negotiated idle timeout
If neither side is sending keep-alives, a connection will time out after a long enough idle
period even if the peer is still reachable. See also TransportConfig::max_idle_timeout()
and TransportConfig::keep_alive_interval()
.
The local application closed the connection
Trait Implementations
impl Clone for ConnectionError
[src]
impl Clone for ConnectionError
[src]fn clone(&self) -> ConnectionError
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Eq for ConnectionError
[src]
impl Eq for ConnectionError
[src]impl Error for ConnectionError
[src]
impl Error for ConnectionError
[src]impl From<ConnectionError> for Event
[src]
impl From<ConnectionError> for Event
[src]fn from(x: ConnectionError) -> Self
[src]
impl From<Error> for ConnectionError
[src]
impl From<Error> for ConnectionError
[src]fn from(source: TransportError) -> Self
[src]
impl PartialEq<ConnectionError> for ConnectionError
[src]
impl PartialEq<ConnectionError> for ConnectionError
[src]fn eq(&self, other: &ConnectionError) -> bool
[src]
fn ne(&self, other: &ConnectionError) -> bool
[src]
impl StructuralEq for ConnectionError
[src]
impl StructuralEq for ConnectionError
[src]impl StructuralPartialEq for ConnectionError
[src]
impl StructuralPartialEq for ConnectionError
[src]Auto Trait Implementations
impl RefUnwindSafe for ConnectionError
impl RefUnwindSafe for ConnectionError
impl Send for ConnectionError
impl Send for ConnectionError
impl Sync for ConnectionError
impl Sync for ConnectionError
impl Unpin for ConnectionError
impl Unpin for ConnectionError
impl UnwindSafe for ConnectionError
impl UnwindSafe for ConnectionError
Blanket Implementations
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,