pub enum ProcessProvidedService {
InferenceEngine {
id: String,
},
EventSink {
id: String,
},
SubagentDispatcher {
id: String,
},
TaskExecutor {
id: String,
},
ToolProvider {
id: String,
tools: Vec<ToolSpec>,
},
}Expand description
A manifest service declaration; mirrors ProvidedService variants the
process host supports. Tool providers declare their ToolSpecs
statically so the registry can be built deterministically without
spawning the child.
Variants§
Implementations§
Source§impl ProcessProvidedService
impl ProcessProvidedService
pub fn service_id(&self) -> &str
Trait Implementations§
Source§impl Clone for ProcessProvidedService
impl Clone for ProcessProvidedService
Source§fn clone(&self) -> ProcessProvidedService
fn clone(&self) -> ProcessProvidedService
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 ProcessProvidedService
impl Debug for ProcessProvidedService
Source§impl<'de> Deserialize<'de> for ProcessProvidedService
impl<'de> Deserialize<'de> for ProcessProvidedService
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
Source§impl From<&ProcessProvidedService> for ProvidedService
impl From<&ProcessProvidedService> for ProvidedService
Source§fn from(service: &ProcessProvidedService) -> Self
fn from(service: &ProcessProvidedService) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ProcessProvidedService
impl PartialEq for ProcessProvidedService
Source§fn eq(&self, other: &ProcessProvidedService) -> bool
fn eq(&self, other: &ProcessProvidedService) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ProcessProvidedService
impl Serialize for ProcessProvidedService
impl StructuralPartialEq for ProcessProvidedService
Auto Trait Implementations§
impl Freeze for ProcessProvidedService
impl RefUnwindSafe for ProcessProvidedService
impl Send for ProcessProvidedService
impl Sync for ProcessProvidedService
impl Unpin for ProcessProvidedService
impl UnsafeUnpin for ProcessProvidedService
impl UnwindSafe for ProcessProvidedService
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