pub struct ClientRpcSandbox<'a> { /* private fields */ }Expand description
sandbox.* RPCs.
Implementations§
Source§impl<'a> ClientRpcSandbox<'a>
impl<'a> ClientRpcSandbox<'a>
Sourcepub async fn get_host_support(&self) -> Result<SandboxHostSupport, Error>
pub async fn get_host_support(&self) -> Result<SandboxHostSupport, Error>
Reports whether the host running this runtime can run the command sandbox, without starting a session or spawning a sandboxed command.
Wire method: sandbox.getHostSupport.
§Returns
Whether the host running this runtime can run the command sandbox. The runtime checks supported once per process. A capability answer can change while the process runs, for example after the user installs a missing package.
Experimental. This API is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases. Pin both the SDK and CLI versions if your code depends on it.
Trait Implementations§
Source§impl<'a> Clone for ClientRpcSandbox<'a>
impl<'a> Clone for ClientRpcSandbox<'a>
impl<'a> Copy for ClientRpcSandbox<'a>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for ClientRpcSandbox<'a>
impl<'a> !UnwindSafe for ClientRpcSandbox<'a>
impl<'a> Freeze for ClientRpcSandbox<'a>
impl<'a> Send for ClientRpcSandbox<'a>
impl<'a> Sync for ClientRpcSandbox<'a>
impl<'a> Unpin for ClientRpcSandbox<'a>
impl<'a> UnsafeUnpin for ClientRpcSandbox<'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