pub struct SessionRpcExtensions<'a> { /* private fields */ }Expand description
session.extensions.* RPCs.
Implementations§
Source§impl<'a> SessionRpcExtensions<'a>
impl<'a> SessionRpcExtensions<'a>
Sourcepub async fn list(&self) -> Result<ExtensionList, Error>
pub async fn list(&self) -> Result<ExtensionList, Error>
Wire method: session.extensions.list.
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.
Sourcepub async fn enable(&self, params: ExtensionsEnableRequest) -> Result<(), Error>
pub async fn enable(&self, params: ExtensionsEnableRequest) -> Result<(), Error>
Wire method: session.extensions.enable.
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.
Sourcepub async fn disable(
&self,
params: ExtensionsDisableRequest,
) -> Result<(), Error>
pub async fn disable( &self, params: ExtensionsDisableRequest, ) -> Result<(), Error>
Wire method: session.extensions.disable.
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 SessionRpcExtensions<'a>
impl<'a> Clone for SessionRpcExtensions<'a>
Source§fn clone(&self) -> SessionRpcExtensions<'a>
fn clone(&self) -> SessionRpcExtensions<'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 SessionRpcExtensions<'a>
Auto Trait Implementations§
impl<'a> Freeze for SessionRpcExtensions<'a>
impl<'a> !RefUnwindSafe for SessionRpcExtensions<'a>
impl<'a> Send for SessionRpcExtensions<'a>
impl<'a> Sync for SessionRpcExtensions<'a>
impl<'a> Unpin for SessionRpcExtensions<'a>
impl<'a> UnsafeUnpin for SessionRpcExtensions<'a>
impl<'a> !UnwindSafe for SessionRpcExtensions<'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