pub struct LocalCommand {
pub command_type: String,
pub supports_non_interactive: bool,
pub load: Box<dyn Fn() -> Pin<Box<dyn Future<Output = LocalCommandModule> + Send>> + Send + Sync>,
}Expand description
Local command definition.
Fields§
§command_type: String§supports_non_interactive: bool§load: Box<dyn Fn() -> Pin<Box<dyn Future<Output = LocalCommandModule> + Send>> + Send + Sync>Auto Trait Implementations§
impl Freeze for LocalCommand
impl !RefUnwindSafe for LocalCommand
impl Send for LocalCommand
impl Sync for LocalCommand
impl Unpin for LocalCommand
impl UnsafeUnpin for LocalCommand
impl !UnwindSafe for LocalCommand
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