pub struct ConnectionCloseFrame<'a> {
pub error_code: u64,
pub frame_type: Option<u64>,
pub reason: Option<&'a [u8]>,
}Fields§
§error_code: u64§frame_type: Option<u64>§reason: Option<&'a [u8]>Trait Implementations§
Source§impl<'a> Clone for ConnectionCloseFrame<'a>
impl<'a> Clone for ConnectionCloseFrame<'a>
Source§fn clone(&self) -> ConnectionCloseFrame<'a>
fn clone(&self) -> ConnectionCloseFrame<'a>
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<'a> Debug for ConnectionCloseFrame<'a>
impl<'a> Debug for ConnectionCloseFrame<'a>
Source§impl<'a> IntoEvent<ConnectionCloseFrame<'a>> for &ConnectionClose<'a>
impl<'a> IntoEvent<ConnectionCloseFrame<'a>> for &ConnectionClose<'a>
fn into_event(self) -> ConnectionCloseFrame<'a>
Source§impl<'a> IntoEvent<ConnectionCloseFrame<'a>> for ConnectionCloseFrame<'a>
impl<'a> IntoEvent<ConnectionCloseFrame<'a>> for ConnectionCloseFrame<'a>
fn into_event(self) -> ConnectionCloseFrame<'a>
Auto Trait Implementations§
impl<'a> Freeze for ConnectionCloseFrame<'a>
impl<'a> RefUnwindSafe for ConnectionCloseFrame<'a>
impl<'a> Send for ConnectionCloseFrame<'a>
impl<'a> Sync for ConnectionCloseFrame<'a>
impl<'a> Unpin for ConnectionCloseFrame<'a>
impl<'a> UnwindSafe for ConnectionCloseFrame<'a>
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