pub struct CONFIGURE;Trait Implementations§
Source§impl ControlCommand for CONFIGURE
impl ControlCommand for CONFIGURE
const IDENTIFIER: ControlCommandIdentifier
Source§type Input = ConfigureAbi
type Input = ConfigureAbi
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 = VersionAbi
type Output = VersionAbi
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>
impl Copy for CONFIGURE
Auto Trait Implementations§
impl Freeze for CONFIGURE
impl RefUnwindSafe for CONFIGURE
impl Send for CONFIGURE
impl Sync for CONFIGURE
impl Unpin for CONFIGURE
impl UnsafeUnpin for CONFIGURE
impl UnwindSafe for CONFIGURE
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