pub struct ShellCommandLineExecute<'a> {
pub argv: &'a [String],
}Expand description
Shell command line execute command
Fields§
§argv: &'a [String]array consisting of strings representing command and its arguments
Trait Implementations§
Source§impl<'a> Debug for ShellCommandLineExecute<'a>
impl<'a> Debug for ShellCommandLineExecute<'a>
Source§impl McuMgrCommand for ShellCommandLineExecute<'_>
impl McuMgrCommand for ShellCommandLineExecute<'_>
Source§type Payload = ShellCommandLineExecute<'_>
type Payload = ShellCommandLineExecute<'_>
the data payload type
Source§type Response = ShellCommandLineExecuteResponse
type Response = ShellCommandLineExecuteResponse
the response type of the command
Source§fn is_write_operation(&self) -> bool
fn is_write_operation(&self) -> bool
whether this command is a read or write operation
Source§fn command_id(&self) -> u8
fn command_id(&self) -> u8
the command ID
Auto Trait Implementations§
impl<'a> Freeze for ShellCommandLineExecute<'a>
impl<'a> RefUnwindSafe for ShellCommandLineExecute<'a>
impl<'a> Send for ShellCommandLineExecute<'a>
impl<'a> Sync for ShellCommandLineExecute<'a>
impl<'a> Unpin for ShellCommandLineExecute<'a>
impl<'a> UnwindSafe for ShellCommandLineExecute<'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