pub enum AppType {
Native,
Bun,
Standalone,
PlatformRuntime,
}Expand description
App execution model — determines how the daemon loads and isolates the app.
Variants§
Native
In-process cdylib loaded via dlopen. First-party path only (SEC-H1).
Bun
Isolated subprocess managed by the Bun runtime.
Standalone
Independent systemd-managed service that owns its own Unix domain socket.
The daemon does not start or supervise the process; it only routes
capability invocations to the app’s socket as JSON-RPC 2.0.
Requires a standalone.socket_path when the manifest declares any
provides / capabilities.provides entries.
PlatformRuntime
Packaging-only runtime dependency (for example the shared Bun runtime). It is installed and versioned like an app package but is never loaded, registered as a capability provider, or hot-reloaded as an app.
Implementations§
Trait Implementations§
impl Copy for AppType
Source§impl<'de> Deserialize<'de> for AppType
impl<'de> Deserialize<'de> for AppType
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
impl Eq for AppType
impl StructuralPartialEq for AppType
Auto Trait Implementations§
impl Freeze for AppType
impl RefUnwindSafe for AppType
impl Send for AppType
impl Sync for AppType
impl Unpin for AppType
impl UnsafeUnpin for AppType
impl UnwindSafe for AppType
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