pub struct SessionCommandAdmin { /* private fields */ }Implementations§
Source§impl SessionCommandAdmin
impl SessionCommandAdmin
Sourcepub async fn refresh_tool_catalog(
&self,
reason: impl Into<String>,
idempotency_key: impl Into<String>,
) -> Result<SessionCommandReceipt>
pub async fn refresh_tool_catalog( &self, reason: impl Into<String>, idempotency_key: impl Into<String>, ) -> Result<SessionCommandReceipt>
Enqueue an unconditional tool-catalog 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 SessionCommandAdmin
impl Clone for SessionCommandAdmin
Source§fn clone(&self) -> SessionCommandAdmin
fn clone(&self) -> SessionCommandAdmin
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 SessionCommandAdmin
impl !UnwindSafe for SessionCommandAdmin
impl Freeze for SessionCommandAdmin
impl Send for SessionCommandAdmin
impl Sync for SessionCommandAdmin
impl Unpin for SessionCommandAdmin
impl UnsafeUnpin for SessionCommandAdmin
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