pub struct ProviderCancellation { /* private fields */ }Expand description
Exact cancellation notice for an invocation previously issued by the same runtime binding.
Implementations§
Source§impl ProviderCancellation
impl ProviderCancellation
pub fn binding_id(&self) -> ProviderBindingId
pub fn operation_id(&self) -> ToolOperationId
pub fn request_key(&self) -> &CapabilityRequestKey
pub fn reason(&self) -> InvocationCancelReason
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ProviderCancellation
impl RefUnwindSafe for ProviderCancellation
impl Send for ProviderCancellation
impl Sync for ProviderCancellation
impl Unpin for ProviderCancellation
impl UnsafeUnpin for ProviderCancellation
impl UnwindSafe for ProviderCancellation
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