pub enum KernelRequest {
InstallCapsule {
source: String,
workspace: bool,
},
ApproveCapability {
request_id: String,
signature: String,
},
ListCapsules,
ReloadCapsules,
GetCommands,
GetCapsuleMetadata,
Shutdown {
reason: Option<String>,
},
GetStatus,
}Expand description
Management API requests directed at the core daemon.
Variants§
InstallCapsule
Request to install a capsule from a local or remote path.
Fields
ApproveCapability
Request to approve a capability grant (usually following an ApprovalNeeded response).
Fields
ListCapsules
Request the list of currently loaded capsules.
ReloadCapsules
Reload all capsules from the file system.
GetCommands
Request the list of globally registered slash commands.
GetCapsuleMetadata
Request metadata about loaded capsules (manifests, providers, interceptors).
The kernel’s equivalent of /proc — exposing process table info.
Shutdown
Request the daemon to shut down gracefully.
GetStatus
Request daemon status information.
Trait Implementations§
Source§impl Clone for KernelRequest
impl Clone for KernelRequest
Source§fn clone(&self) -> KernelRequest
fn clone(&self) -> KernelRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for KernelRequest
impl Debug for KernelRequest
Source§impl<'de> Deserialize<'de> for KernelRequest
impl<'de> Deserialize<'de> for KernelRequest
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
Auto Trait Implementations§
impl Freeze for KernelRequest
impl RefUnwindSafe for KernelRequest
impl Send for KernelRequest
impl Sync for KernelRequest
impl Unpin for KernelRequest
impl UnsafeUnpin for KernelRequest
impl UnwindSafe for KernelRequest
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