pub struct AppStateInner {Show 22 fields
pub db: Database,
pub workspace_store: WorkspaceStore,
pub codebase_store: CodebaseStore,
pub worktree_store: WorktreeStore,
pub agent_store: AgentStore,
pub artifact_store: ArtifactStore,
pub task_store: TaskStore,
pub kanban_store: KanbanStore,
pub note_store: NoteStore,
pub schedule_store: ScheduleStore,
pub conversation_store: ConversationStore,
pub acp_session_store: AcpSessionStore,
pub skill_registry: SkillRegistry,
pub acp_manager: AcpManager,
pub event_bus: EventBus,
pub acp_paths: AcpPaths,
pub acp_binary_manager: AcpBinaryManager,
pub acp_installation_state: AcpInstallationState,
pub acp_runtime_manager: AcpRuntimeManager,
pub acp_warmup_service: AcpWarmupService,
pub docker_state: DockerState,
pub sandbox_manager: SandboxManager,
}Expand description
Shared state accessible by all API handlers.
Fields§
§db: Database§workspace_store: WorkspaceStore§codebase_store: CodebaseStore§worktree_store: WorktreeStore§agent_store: AgentStore§artifact_store: ArtifactStore§task_store: TaskStore§kanban_store: KanbanStore§note_store: NoteStore§schedule_store: ScheduleStore§conversation_store: ConversationStore§acp_session_store: AcpSessionStore§skill_registry: SkillRegistry§acp_manager: AcpManager§event_bus: EventBus§acp_paths: AcpPaths§acp_binary_manager: AcpBinaryManager§acp_installation_state: AcpInstallationState§acp_runtime_manager: AcpRuntimeManager§acp_warmup_service: AcpWarmupService§docker_state: DockerState§sandbox_manager: SandboxManagerImplementations§
Source§impl AppStateInner
impl AppStateInner
pub fn new(db: Database) -> AppStateInner
Auto Trait Implementations§
impl !Freeze for AppStateInner
impl !RefUnwindSafe for AppStateInner
impl Send for AppStateInner
impl Sync for AppStateInner
impl Unpin for AppStateInner
impl UnsafeUnpin for AppStateInner
impl !UnwindSafe for AppStateInner
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 more