pub struct Module {
pub id: String,
pub program: PathBuf,
pub args: Vec<String>,
pub env: BTreeMap<String, String>,
pub reserved: bool,
pub enabled: bool,
}Expand description
A module the private subc daemon spawns and supervises, like a production module entry in subc.jsonc. Environment entries augment the daemon’s inherited environment; do not override its isolated XDG homes.
Fields§
§id: String§program: PathBuf§args: Vec<String>§env: BTreeMap<String, String>§reserved: bool§enabled: boolImplementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Module
impl RefUnwindSafe for Module
impl Send for Module
impl Sync for Module
impl Unpin for Module
impl UnsafeUnpin for Module
impl UnwindSafe for Module
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