pub struct SessionRpcShell<'a> { /* private fields */ }Expand description
session.shell.* RPCs.
Implementations§
Source§impl<'a> SessionRpcShell<'a>
impl<'a> SessionRpcShell<'a>
Sourcepub async fn exec(
&self,
params: ShellExecRequest,
) -> Result<ShellExecResult, Error>
pub async fn exec( &self, params: ShellExecRequest, ) -> Result<ShellExecResult, Error>
Wire method: session.shell.exec.
Sourcepub async fn kill(
&self,
params: ShellKillRequest,
) -> Result<ShellKillResult, Error>
pub async fn kill( &self, params: ShellKillRequest, ) -> Result<ShellKillResult, Error>
Wire method: session.shell.kill.
Trait Implementations§
Source§impl<'a> Clone for SessionRpcShell<'a>
impl<'a> Clone for SessionRpcShell<'a>
Source§fn clone(&self) -> SessionRpcShell<'a>
fn clone(&self) -> SessionRpcShell<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<'a> Copy for SessionRpcShell<'a>
Auto Trait Implementations§
impl<'a> Freeze for SessionRpcShell<'a>
impl<'a> !RefUnwindSafe for SessionRpcShell<'a>
impl<'a> Send for SessionRpcShell<'a>
impl<'a> Sync for SessionRpcShell<'a>
impl<'a> Unpin for SessionRpcShell<'a>
impl<'a> UnsafeUnpin for SessionRpcShell<'a>
impl<'a> !UnwindSafe for SessionRpcShell<'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