pub struct RuntimeHints {
pub output_to_io: bool,
pub elevated: bool,
pub child_spawner: bool,
}Expand description
Hints from a Component to the Runtime about how it should be spawned.
Components declare these hints; the Runtime inspects them to decide channel configuration, auth level, and feature enablement.
All fields default to false (most restrictive).
Fields§
§output_to_io: boolRoute Output events to the IO channel (visible to user).
elevated: boolRequest an elevated session (skip HIL for pre-approved commands).
child_spawner: boolEnable child process / child component spawning.
Trait Implementations§
Source§impl Clone for RuntimeHints
impl Clone for RuntimeHints
Source§fn clone(&self) -> RuntimeHints
fn clone(&self) -> RuntimeHints
Returns a duplicate of the value. Read more
1.0.0 · 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 RuntimeHints
impl Debug for RuntimeHints
Source§impl Default for RuntimeHints
impl Default for RuntimeHints
Source§fn default() -> RuntimeHints
fn default() -> RuntimeHints
Returns the “default value” for a type. Read more
Source§impl PartialEq for RuntimeHints
impl PartialEq for RuntimeHints
impl Eq for RuntimeHints
impl StructuralPartialEq for RuntimeHints
Auto Trait Implementations§
impl Freeze for RuntimeHints
impl RefUnwindSafe for RuntimeHints
impl Send for RuntimeHints
impl Sync for RuntimeHints
impl Unpin for RuntimeHints
impl UnsafeUnpin for RuntimeHints
impl UnwindSafe for RuntimeHints
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