pub struct ExecuteShellAction;Trait Implementations§
Source§impl Action for ExecuteShellAction
impl Action for ExecuteShellAction
fn name(&self) -> &str
fn similes(&self) -> Vec<&str>
fn description(&self) -> &str
fn validate<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
_message: &'life1 Value,
_state: &'life2 Value,
) -> Pin<Box<dyn Future<Output = bool> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn handler<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
message: &'life1 Value,
state: &'life2 Value,
service: Option<&'life3 mut CoderService>,
) -> Pin<Box<dyn Future<Output = ActionResult> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
fn examples(&self) -> Vec<ActionExample>
Auto Trait Implementations§
impl Freeze for ExecuteShellAction
impl RefUnwindSafe for ExecuteShellAction
impl Send for ExecuteShellAction
impl Sync for ExecuteShellAction
impl Unpin for ExecuteShellAction
impl UnsafeUnpin for ExecuteShellAction
impl UnwindSafe for ExecuteShellAction
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