Re-exports§
pub use client::AxumApcore;pub use config::ApcoreSettings;pub use context::ApContext;pub use context::AxumContextFactory;pub use context::RequestIdentity;pub use engine::extensions::AxumDiscoverer;pub use engine::extensions::AxumModuleValidator;pub use engine::registry::get_executor;pub use engine::registry::get_registry;pub use engine::tasks::TaskInfo;pub use engine::tasks::TaskManager;pub use output::AxumRegistryWriter;pub use scanner::native::NativeAxumScanner;pub use scanner::get_scanner;pub use scanner::AxumScanner;pub use scanner::openapi::OpenAPIScanner;
Modules§
Macros§
- ap_
handler - Convenience macro for registering an Axum handler with apcore metadata.
Structs§
- ACL
- Access control list manager.
- APCore
- Main entry point for interacting with the APCore system.
- Always
Deny Handler - An approval handler that automatically denies all requests.
- ApCore
Event - An event emitted by the APCore system.
- Auto
Approve Handler - An approval handler that automatically approves all requests.
- Cancel
Token - Token used to signal cancellation to a running execution.
- Config
- Context
- Generic execution context carrying identity, services, and data.
- Event
Emitter - Manages event subscribers and dispatches events.
- Executor
- Responsible for executing modules with middleware, ACL, and context management.
- Identity
- Frozen/immutable identity representing the caller.
- Module
Annotations - Metadata annotations attached to a module. Describes behavioral characteristics of the module.
- Module
Error - Structured error returned by module execution.
- Module
Example - An example input/output pair for documentation.
- Registry
- Central registry of modules.
- Scanned
Module - Result of scanning a single endpoint.
- Tracing
Middleware - Middleware that creates tracing spans around module execution.
Enums§
- Error
Code - All error codes defined by the APCore protocol.
- Sampling
Strategy - Strategy for deciding which spans to sample.
Traits§
- Approval
Handler - Trait for handling approval requests.
- Module
- Core trait that all APCore modules must implement.