pub enum ProviderRuntimeCommand {
Attach {
binding_id: ProviderBindingId,
provider_id: ToolProviderId,
},
Detach {
binding_id: ProviderBindingId,
provider_id: ToolProviderId,
},
Observe {
binding_id: ProviderBindingId,
observation: CapabilityObservationEnvelope,
},
}Variants§
Implementations§
Source§impl ProviderRuntimeCommand
impl ProviderRuntimeCommand
pub fn binding_id(&self) -> ProviderBindingId
Trait Implementations§
Source§impl Clone for ProviderRuntimeCommand
impl Clone for ProviderRuntimeCommand
Source§impl Debug for ProviderRuntimeCommand
impl Debug for ProviderRuntimeCommand
Source§impl<'de> Deserialize<'de> for ProviderRuntimeCommand
impl<'de> Deserialize<'de> for ProviderRuntimeCommand
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ProviderRuntimeCommand
Source§impl PartialEq for ProviderRuntimeCommand
impl PartialEq for ProviderRuntimeCommand
Source§impl Serialize for ProviderRuntimeCommand
impl Serialize for ProviderRuntimeCommand
impl StructuralPartialEq for ProviderRuntimeCommand
Auto Trait Implementations§
impl Freeze for ProviderRuntimeCommand
impl RefUnwindSafe for ProviderRuntimeCommand
impl Send for ProviderRuntimeCommand
impl Sync for ProviderRuntimeCommand
impl Unpin for ProviderRuntimeCommand
impl UnsafeUnpin for ProviderRuntimeCommand
impl UnwindSafe for ProviderRuntimeCommand
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