pub struct SessionCommandsControl { /* private fields */ }Implementations§
Source§impl SessionCommandsControl
impl SessionCommandsControl
Sourcepub async fn refresh_tool_surface(
&self,
reason: impl Into<String>,
idempotency_key: impl Into<String>,
) -> Result<SessionCommandReceipt>
pub async fn refresh_tool_surface( &self, reason: impl Into<String>, idempotency_key: impl Into<String>, ) -> Result<SessionCommandReceipt>
Enqueue an unconditional tool-surface refresh. The command drains asynchronously and recomputes the surface from live sources, so it takes no generation guard — any generation observed at enqueue time could legitimately have advanced by drain time.
pub async fn reset( &self, reason: impl Into<String>, idempotency_key: impl Into<String>, ) -> Result<SessionCommandReceipt>
Trait Implementations§
Source§impl Clone for SessionCommandsControl
impl Clone for SessionCommandsControl
Source§fn clone(&self) -> SessionCommandsControl
fn clone(&self) -> SessionCommandsControl
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 moreAuto Trait Implementations§
impl !RefUnwindSafe for SessionCommandsControl
impl !UnwindSafe for SessionCommandsControl
impl Freeze for SessionCommandsControl
impl Send for SessionCommandsControl
impl Sync for SessionCommandsControl
impl Unpin for SessionCommandsControl
impl UnsafeUnpin for SessionCommandsControl
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