Struct quinn_proto::ApplicationClose
source · pub struct ApplicationClose {
pub error_code: VarInt,
pub reason: Bytes,
}
Expand description
Reason given by an application for closing the connection
Fields§
§error_code: VarInt
Application-specific reason code
reason: Bytes
Human-readable reason for the close
Trait Implementations§
source§impl Clone for ApplicationClose
impl Clone for ApplicationClose
source§fn clone(&self) -> ApplicationClose
fn clone(&self) -> ApplicationClose
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ApplicationClose
impl Debug for ApplicationClose
source§impl Display for ApplicationClose
impl Display for ApplicationClose
source§impl PartialEq for ApplicationClose
impl PartialEq for ApplicationClose
source§fn eq(&self, other: &ApplicationClose) -> bool
fn eq(&self, other: &ApplicationClose) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ApplicationClose
impl StructuralEq for ApplicationClose
impl StructuralPartialEq for ApplicationClose
Auto Trait Implementations§
impl RefUnwindSafe for ApplicationClose
impl Send for ApplicationClose
impl Sync for ApplicationClose
impl Unpin for ApplicationClose
impl UnwindSafe for ApplicationClose
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more