pub struct FastSkillService { /* private fields */ }Expand description
Main FastSkill service
Note: This struct does not derive Debug because it contains Arc
Implementations§
Source§impl FastSkillService
impl FastSkillService
Sourcepub async fn new(config: ServiceConfig) -> Result<Self, ServiceError>
pub async fn new(config: ServiceConfig) -> Result<Self, ServiceError>
Create a new service instance
Sourcepub async fn initialize(&mut self) -> Result<(), ServiceError>
pub async fn initialize(&mut self) -> Result<(), ServiceError>
Initialize the service
Sourcepub async fn shutdown(&mut self) -> Result<(), ServiceError>
pub async fn shutdown(&mut self) -> Result<(), ServiceError>
Shutdown the service
Sourcepub fn skill_manager(&self) -> Arc<dyn SkillManagementService> ⓘ
pub fn skill_manager(&self) -> Arc<dyn SkillManagementService> ⓘ
Get skill manager service
Sourcepub fn metadata_service(&self) -> Arc<dyn MetadataService> ⓘ
pub fn metadata_service(&self) -> Arc<dyn MetadataService> ⓘ
Get metadata service
Sourcepub fn vector_index_service(&self) -> Option<Arc<dyn VectorIndexService>>
pub fn vector_index_service(&self) -> Option<Arc<dyn VectorIndexService>>
Get vector index service (if available)
Sourcepub fn loading_service(&self) -> Arc<dyn ProgressiveLoadingService> ⓘ
pub fn loading_service(&self) -> Arc<dyn ProgressiveLoadingService> ⓘ
Get loading service
Sourcepub fn tool_service(&self) -> Arc<dyn ToolCallingService> ⓘ
pub fn tool_service(&self) -> Arc<dyn ToolCallingService> ⓘ
Get tool calling service
Sourcepub fn routing_service(&self) -> Arc<dyn RoutingService> ⓘ
pub fn routing_service(&self) -> Arc<dyn RoutingService> ⓘ
Get routing service
Sourcepub fn config(&self) -> &ServiceConfig
pub fn config(&self) -> &ServiceConfig
Get service configuration
Sourcepub fn context_resolver(&self) -> ContextResolver
pub fn context_resolver(&self) -> ContextResolver
Get context resolver for machine-first skill resolution
Sourcepub fn is_initialized(&self) -> bool
pub fn is_initialized(&self) -> bool
Check if service is initialized
Auto Trait Implementations§
impl Freeze for FastSkillService
impl !RefUnwindSafe for FastSkillService
impl Send for FastSkillService
impl Sync for FastSkillService
impl Unpin for FastSkillService
impl UnsafeUnpin for FastSkillService
impl !UnwindSafe for FastSkillService
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.