pub struct ToolAuthorityHandle { /* private fields */ }Implementations§
Source§impl ToolAuthorityHandle
impl ToolAuthorityHandle
pub fn bind_client( &self, actor_id: ToolActorId, ) -> Result<ToolClientHandle, ToolAuthorityError>
pub fn dispatch( &self, command: ToolAuthorityCommand, ) -> Result<u64, ToolAuthorityError>
Sourcepub fn close_client(
&self,
client: &ToolClientHandle,
) -> Result<u64, ToolAuthorityError>
pub fn close_client( &self, client: &ToolClientHandle, ) -> Result<u64, ToolAuthorityError>
Deactivates every clone before attempting to enqueue CloseClient.
A full ingress leaves the client inactive and retryable without reserving the global authority sequence or blocking unrelated authority commands. Once enqueued, repeated calls return the one queued sequence.
pub fn snapshot(&self) -> Arc<BackendSnapshot> ⓘ
pub fn subscribe_outcomes( &self, capacity: usize, ) -> ToolAuthorityOutcomeSubscription
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ToolAuthorityHandle
impl RefUnwindSafe for ToolAuthorityHandle
impl Send for ToolAuthorityHandle
impl Sync for ToolAuthorityHandle
impl Unpin for ToolAuthorityHandle
impl UnsafeUnpin for ToolAuthorityHandle
impl UnwindSafe for ToolAuthorityHandle
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