Struct CommandRuntime
pub struct CommandRuntime<T> { /* private fields */ }Implementations§
§impl<T> CommandRuntime<T>
impl<T> CommandRuntime<T>
pub fn new(transport: T) -> CommandRuntime<T>
§impl<T> CommandRuntime<T>where
T: CommandTransport,
impl<T> CommandRuntime<T>where
T: CommandTransport,
pub async fn execute( &self, context: CommandExecutionContext, ) -> Result<CommandExecution, CommandRuntimeError>
Auto Trait Implementations§
impl<T> Freeze for CommandRuntime<T>where
T: Freeze,
impl<T> RefUnwindSafe for CommandRuntime<T>where
T: RefUnwindSafe,
impl<T> Send for CommandRuntime<T>where
T: Send,
impl<T> Sync for CommandRuntime<T>where
T: Sync,
impl<T> Unpin for CommandRuntime<T>where
T: Unpin,
impl<T> UnsafeUnpin for CommandRuntime<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for CommandRuntime<T>where
T: UnwindSafe,
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