pub struct CloseFrame {
pub header: DataFrameHeader,
pub final_ack: u64,
}Available on crate feature
transport only.Expand description
A close frame for graceful termination.
Fields§
§header: DataFrameHeaderThe frame header.
final_ack: u64Highest state version acknowledged (encrypted).
Implementations§
Trait Implementations§
Source§impl Clone for CloseFrame
impl Clone for CloseFrame
Source§fn clone(&self) -> CloseFrame
fn clone(&self) -> CloseFrame
Returns a duplicate 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 CloseFrame
impl Debug for CloseFrame
impl Copy for CloseFrame
Auto Trait Implementations§
impl Freeze for CloseFrame
impl RefUnwindSafe for CloseFrame
impl Send for CloseFrame
impl Sync for CloseFrame
impl Unpin for CloseFrame
impl UnwindSafe for CloseFrame
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