Struct endbasic_std::gpio::GpioSetupCommand
source · [−]pub struct GpioSetupCommand { /* private fields */ }Expand description
The GPIO_SETUP command.
Implementations
Trait Implementations
sourceimpl Command for GpioSetupCommand
impl Command for GpioSetupCommand
sourcefn metadata(&self) -> &CallableMetadata
fn metadata(&self) -> &CallableMetadata
Returns the metadata for this command. Read more
sourcefn exec<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
args: &'life1 [(Option<Expr>, ArgSep)],
machine: &'life2 mut Machine
) -> Pin<Box<dyn Future<Output = CommandResult> + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
fn exec<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
args: &'life1 [(Option<Expr>, ArgSep)],
machine: &'life2 mut Machine
) -> Pin<Box<dyn Future<Output = CommandResult> + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
Executes the command. Read more
Auto Trait Implementations
impl !RefUnwindSafe for GpioSetupCommand
impl !Send for GpioSetupCommand
impl !Sync for GpioSetupCommand
impl Unpin for GpioSetupCommand
impl !UnwindSafe for GpioSetupCommand
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more