Struct quicr_core::ConnectionClose[][src]

pub struct ConnectionClose<T = Bytes> {
    pub error_code: TransportError,
    pub reason: T,
}

Fields

Methods

impl<T> ConnectionClose<T> where
    T: AsRef<[u8]>, 
[src]

Trait Implementations

impl<T: Debug> Debug for ConnectionClose<T>
[src]

Formats the value using the given formatter. Read more

impl<T: Clone> Clone for ConnectionClose<T>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<T> Display for ConnectionClose<T> where
    T: AsRef<[u8]>, 
[src]

Formats the value using the given formatter. Read more

impl From<TransportError> for ConnectionClose
[src]

Performs the conversion.

Auto Trait Implementations

impl<T> Send for ConnectionClose<T> where
    T: Send

impl<T> Sync for ConnectionClose<T> where
    T: Sync