Struct quiche::ConnectionError
source · [−]Expand description
Represents information carried by CONNECTION_CLOSE
frames.
Fields
is_app: bool
Whether the error came from the application or the transport layer.
error_code: u64
The error code carried by the CONNECTION_CLOSE
frame.
reason: Vec<u8>
The reason carried by the CONNECTION_CLOSE
frame.
Trait Implementations
sourceimpl Clone for ConnectionError
impl Clone for ConnectionError
sourcefn clone(&self) -> ConnectionError
fn clone(&self) -> ConnectionError
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ConnectionError
impl Debug for ConnectionError
sourceimpl PartialEq<ConnectionError> for ConnectionError
impl PartialEq<ConnectionError> for ConnectionError
sourcefn eq(&self, other: &ConnectionError) -> bool
fn eq(&self, other: &ConnectionError) -> bool
impl Eq for ConnectionError
impl StructuralEq for ConnectionError
impl StructuralPartialEq for ConnectionError
Auto Trait Implementations
impl RefUnwindSafe for ConnectionError
impl Send for ConnectionError
impl Sync for ConnectionError
impl Unpin for ConnectionError
impl UnwindSafe for ConnectionError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.