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]
T: AsRef<[u8]>,
Trait Implementations
impl<T: Debug> Debug for ConnectionClose<T>
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl<T: Clone> Clone for ConnectionClose<T>
[src]
fn clone(&self) -> ConnectionClose<T>
[src]
Returns a copy of the value. Read more
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]
T: AsRef<[u8]>,
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl From<TransportError> for ConnectionClose
[src]
fn from(x: TransportError) -> Self
[src]
Performs the conversion.
Auto Trait Implementations
impl<T> Send for ConnectionClose<T> where
T: Send,
T: Send,
impl<T> Sync for ConnectionClose<T> where
T: Sync,
T: Sync,