Struct process_builder::MessageContents
source · pub struct MessageContents {
pub args: Vec<CString>,
pub environment_vars: Vec<CString>,
pub namespace_paths: Vec<CString>,
pub handles: Vec<StartupHandle>,
}
Expand description
Contents of a bootstrap message, following the processargs protocol. Used as an input to Message::build().
Fields§
§args: Vec<CString>
Arguments for a bootstrap message.
environment_vars: Vec<CString>
Environment variables for a bootstrap message.
namespace_paths: Vec<CString>
Namespace paths for a bootstrap message.
handles: Vec<StartupHandle>
Handles for a bootstrap message.
Trait Implementations§
source§impl Default for MessageContents
impl Default for MessageContents
source§fn default() -> MessageContents
fn default() -> MessageContents
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for MessageContents
impl RefUnwindSafe for MessageContents
impl Send for MessageContents
impl Sync for MessageContents
impl Unpin for MessageContents
impl UnwindSafe for MessageContents
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