#[repr(C, packed(1))]pub struct disconnect_cp {
pub handle: u16,
pub reason: u8,
}Fields§
§handle: u16§reason: u8Trait Implementations§
Source§impl Clone for disconnect_cp
impl Clone for disconnect_cp
Source§fn clone(&self) -> disconnect_cp
fn clone(&self) -> disconnect_cp
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 disconnect_cp
impl Debug for disconnect_cp
impl Copy for disconnect_cp
Auto Trait Implementations§
impl Freeze for disconnect_cp
impl RefUnwindSafe for disconnect_cp
impl Send for disconnect_cp
impl Sync for disconnect_cp
impl Unpin for disconnect_cp
impl UnwindSafe for disconnect_cp
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