pub struct ProviderInvocation { /* private fields */ }Expand description
Opaque invocation ticket whose correlation identity cannot be rewritten by the provider adapter.
Implementations§
Source§impl ProviderInvocation
impl ProviderInvocation
pub fn binding_id(&self) -> ProviderBindingId
pub fn operation_id(&self) -> ToolOperationId
pub fn request_key(&self) -> &CapabilityRequestKey
pub fn capability_id(&self) -> &ToolCapabilityId
pub fn deadline_tick(&self) -> u64
pub fn resource_scope_id(&self) -> &ResourceScopeId
pub fn cancellation_token(&self) -> ProviderCancellationToken
pub fn payload(&self) -> &[u8] ⓘ
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ProviderInvocation
impl RefUnwindSafe for ProviderInvocation
impl Send for ProviderInvocation
impl Sync for ProviderInvocation
impl Unpin for ProviderInvocation
impl UnsafeUnpin for ProviderInvocation
impl UnwindSafe for ProviderInvocation
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