Struct quicr_core::ConnectionClose [−][src]
pub struct ConnectionClose<T = Bytes> { pub error_code: TransportError, pub reason: T, }
Fields
error_code: TransportError
reason: T
Methods
impl<T> ConnectionClose<T> where
T: AsRef<[u8]>, [src]
impl<T> ConnectionClose<T> where
T: AsRef<[u8]>, Trait Implementations
impl<T: Debug> Debug for ConnectionClose<T>[src]
impl<T: Debug> Debug for ConnectionClose<T>fn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl<T: Clone> Clone for ConnectionClose<T>[src]
impl<T: Clone> Clone for ConnectionClose<T>fn clone(&self) -> ConnectionClose<T>[src]
fn clone(&self) -> ConnectionClose<T>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)1.0.0
[src]Performs copy-assignment from source. Read more
impl<T> Display for ConnectionClose<T> where
T: AsRef<[u8]>, [src]
impl<T> Display for ConnectionClose<T> where
T: AsRef<[u8]>, fn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl From<TransportError> for ConnectionClose[src]
impl From<TransportError> for ConnectionClosefn from(x: TransportError) -> Self[src]
fn from(x: TransportError) -> SelfPerforms the conversion.
Auto Trait Implementations
impl<T> Send for ConnectionClose<T> where
T: Send,
impl<T> Send for ConnectionClose<T> where
T: Send, impl<T> Sync for ConnectionClose<T> where
T: Sync,
impl<T> Sync for ConnectionClose<T> where
T: Sync,