pub struct ClientRpcSessionFs<'a> { /* private fields */ }Expand description
sessionFs.* RPCs.
Implementations§
Source§impl<'a> ClientRpcSessionFs<'a>
impl<'a> ClientRpcSessionFs<'a>
Sourcepub async fn set_provider(
&self,
params: SessionFsSetProviderRequest,
) -> Result<SessionFsSetProviderResult, Error>
pub async fn set_provider( &self, params: SessionFsSetProviderRequest, ) -> Result<SessionFsSetProviderResult, Error>
Registers an SDK client as the session filesystem provider.
Wire method: sessionFs.setProvider.
§Parameters
params- Initial working directory, session-state path layout, and path conventions used to register the calling SDK client as the session filesystem provider.
§Returns
Indicates whether the calling client was registered as the session filesystem provider.
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 ClientRpcSessionFs<'a>
impl<'a> Clone for ClientRpcSessionFs<'a>
Source§fn clone(&self) -> ClientRpcSessionFs<'a>
fn clone(&self) -> ClientRpcSessionFs<'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 ClientRpcSessionFs<'a>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for ClientRpcSessionFs<'a>
impl<'a> !UnwindSafe for ClientRpcSessionFs<'a>
impl<'a> Freeze for ClientRpcSessionFs<'a>
impl<'a> Send for ClientRpcSessionFs<'a>
impl<'a> Sync for ClientRpcSessionFs<'a>
impl<'a> Unpin for ClientRpcSessionFs<'a>
impl<'a> UnsafeUnpin for ClientRpcSessionFs<'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