Struct quinn_proto::ConnectionClose [−][src]
pub struct ConnectionClose {
pub error_code: TransportErrorCode,
pub frame_type: Option<Type>,
pub reason: Bytes,
}Reason given by the transport for closing the connection
Fields
error_code: TransportErrorCodeClass of error as encoded in the specification
frame_type: Option<Type>Type of frame that caused the close
reason: BytesHuman-readable reason for the close
Trait Implementations
impl Clone for ConnectionClose[src]
impl Clone for ConnectionClose[src]fn clone(&self) -> ConnectionClose[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Eq for ConnectionClose[src]
impl Eq for ConnectionClose[src]impl From<Error> for ConnectionClose[src]
impl From<Error> for ConnectionClose[src]fn from(x: TransportError) -> Self[src]
impl PartialEq<ConnectionClose> for ConnectionClose[src]
impl PartialEq<ConnectionClose> for ConnectionClose[src]fn eq(&self, other: &ConnectionClose) -> bool[src]
fn ne(&self, other: &ConnectionClose) -> bool[src]
impl StructuralEq for ConnectionClose[src]
impl StructuralEq for ConnectionClose[src]impl StructuralPartialEq for ConnectionClose[src]
impl StructuralPartialEq for ConnectionClose[src]Auto Trait Implementations
impl RefUnwindSafe for ConnectionClose
impl RefUnwindSafe for ConnectionCloseimpl Send for ConnectionClose
impl Send for ConnectionCloseimpl Sync for ConnectionClose
impl Sync for ConnectionCloseimpl Unpin for ConnectionClose
impl Unpin for ConnectionCloseimpl UnwindSafe for ConnectionClose
impl UnwindSafe for ConnectionCloseBlanket 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>,