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§fn clone(&self) -> ProviderRuntimeCommand
fn clone(&self) -> ProviderRuntimeCommand
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 moreSource§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<ProviderRuntimeCommand, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ProviderRuntimeCommand, <__D as Deserializer<'de>>::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
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
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