pub struct ConnectionClose<'a> {
pub err_code: VarInt,
pub frame_type: Option<VarInt>,
pub reason_phrase: &'a [u8],
}Fields§
§err_code: VarInt§frame_type: Option<VarInt>§reason_phrase: &'a [u8]Auto Trait Implementations§
impl<'a> Freeze for ConnectionClose<'a>
impl<'a> RefUnwindSafe for ConnectionClose<'a>
impl<'a> Send for ConnectionClose<'a>
impl<'a> Sync for ConnectionClose<'a>
impl<'a> Unpin for ConnectionClose<'a>
impl<'a> UnwindSafe for ConnectionClose<'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