pub struct DISCONNECT;Trait Implementations§
Source§impl Clone for DISCONNECT
impl Clone for DISCONNECT
Source§fn clone(&self) -> DISCONNECT
fn clone(&self) -> DISCONNECT
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl ControlCommand for DISCONNECT
impl ControlCommand for DISCONNECT
const IDENTIFIER: ControlCommandIdentifier
Source§type Input = ConnectionHandle
type Input = ConnectionHandle
Command payload sent to the device. Must be plain data: a payload byte
pattern can never be an invalid value of the payload type.
Source§type Output = ()
type Output = ()
Command payload returned by the device. Must be plain data for the same
reason.
fn cast_input(input: &AnyByLayout) -> Result<&Self::Input, Kind>
fn cast_output(output: &mut AnyByLayout) -> Result<&mut Self::Output, Kind>
fn cast<'i, 'o>( input: &'i AnyByLayout, output: &'o mut AnyByLayout, ) -> Result<(&'i Self::Input, &'o mut Self::Output), Kind>
Source§impl Debug for DISCONNECT
impl Debug for DISCONNECT
impl Copy for DISCONNECT
Auto Trait Implementations§
impl Freeze for DISCONNECT
impl RefUnwindSafe for DISCONNECT
impl Send for DISCONNECT
impl Sync for DISCONNECT
impl Unpin for DISCONNECT
impl UnsafeUnpin for DISCONNECT
impl UnwindSafe for DISCONNECT
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