pub enum ManagerCommand {
Show 31 variants
Chat(ApiRequest),
StopChat(StopChatRequest, Sender<Result<bool, String>>),
ResetSession(ResetSessionRequest, Sender<Result<bool, String>>),
UpdateConfig(ConfigUpdate),
UpdateChannel(ChannelUpdate),
GetConfig(Sender<ConfigResponse>),
GetChannels(Sender<ChannelsConfig>),
GetTools(Sender<ToolsConfigResponse>),
UpdateTools(ToolsConfigUpdate),
GetMcps(Sender<Result<Vec<McpServerDto>, String>>),
CreateMcp(McpServerUpsert, Sender<Result<McpServerDto, String>>),
UpdateMcp(String, McpServerUpsert, Sender<Result<McpServerDto, String>>),
DeleteMcp(String, Sender<Result<(), String>>),
SetMcpEnabled(String, bool, Sender<Result<McpServerDto, String>>),
RefreshMcpStatus(String, Sender<Result<McpServerDto, String>>),
GetSkills(Sender<Result<Vec<SkillDto>, String>>),
UploadSkill(SkillUploadRequest, Sender<Result<SkillDto, String>>),
DeleteSkill(String, Sender<Result<(), String>>),
GetSessions(Sender<Result<Vec<SessionInfo>, String>>),
GetSessionHistory(String, Sender<Result<Option<Session>, String>>),
DeleteSession(String, Sender<Result<bool, String>>),
ListCronJobs(Sender<Result<Vec<CronJobDto>, String>>),
GetCronJob(String, Sender<Result<Option<CronJobDto>, String>>),
CreateCronJob(CreateCronJobRequest, Sender<Result<CronJobDto, String>>),
UpdateCronJob(String, UpdateCronJobRequest, Sender<Result<CronJobDto, String>>),
DeleteCronJob(String, Sender<Result<(), String>>),
SetCronJobEnabled(String, bool, Sender<Result<CronJobDto, String>>),
RunCronJobNow(String, bool, Sender<Result<CronJobDto, String>>),
StopCronJobRun(String, Sender<Result<CronRunSnapshot, String>>),
UploadFile(FileUploadRequest, Sender<Result<FileAttachment, String>>),
Provider(ProviderCommand),
}Variants§
Chat(ApiRequest)
StopChat(StopChatRequest, Sender<Result<bool, String>>)
ResetSession(ResetSessionRequest, Sender<Result<bool, String>>)
UpdateConfig(ConfigUpdate)
UpdateChannel(ChannelUpdate)
GetConfig(Sender<ConfigResponse>)
GetChannels(Sender<ChannelsConfig>)
GetTools(Sender<ToolsConfigResponse>)
UpdateTools(ToolsConfigUpdate)
GetMcps(Sender<Result<Vec<McpServerDto>, String>>)
CreateMcp(McpServerUpsert, Sender<Result<McpServerDto, String>>)
UpdateMcp(String, McpServerUpsert, Sender<Result<McpServerDto, String>>)
DeleteMcp(String, Sender<Result<(), String>>)
SetMcpEnabled(String, bool, Sender<Result<McpServerDto, String>>)
RefreshMcpStatus(String, Sender<Result<McpServerDto, String>>)
GetSkills(Sender<Result<Vec<SkillDto>, String>>)
UploadSkill(SkillUploadRequest, Sender<Result<SkillDto, String>>)
DeleteSkill(String, Sender<Result<(), String>>)
GetSessions(Sender<Result<Vec<SessionInfo>, String>>)
GetSessionHistory(String, Sender<Result<Option<Session>, String>>)
DeleteSession(String, Sender<Result<bool, String>>)
ListCronJobs(Sender<Result<Vec<CronJobDto>, String>>)
GetCronJob(String, Sender<Result<Option<CronJobDto>, String>>)
CreateCronJob(CreateCronJobRequest, Sender<Result<CronJobDto, String>>)
UpdateCronJob(String, UpdateCronJobRequest, Sender<Result<CronJobDto, String>>)
DeleteCronJob(String, Sender<Result<(), String>>)
SetCronJobEnabled(String, bool, Sender<Result<CronJobDto, String>>)
RunCronJobNow(String, bool, Sender<Result<CronJobDto, String>>)
StopCronJobRun(String, Sender<Result<CronRunSnapshot, String>>)
UploadFile(FileUploadRequest, Sender<Result<FileAttachment, String>>)
Provider(ProviderCommand)
Auto Trait Implementations§
impl Freeze for ManagerCommand
impl !RefUnwindSafe for ManagerCommand
impl Send for ManagerCommand
impl Sync for ManagerCommand
impl Unpin for ManagerCommand
impl UnsafeUnpin for ManagerCommand
impl !UnwindSafe for ManagerCommand
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> Erasable for T
impl<T> Erasable for T
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 more