pub struct CliEnvelope {
pub codec: String,
pub verb: Option<String>,
pub args: Vec<OsString>,
pub eval: Option<String>,
pub script: Option<PathBuf>,
pub stdin: Option<String>,
}Expand description
Data envelope supplied to the selected loaded-lib entrypoint.
Fields§
§codec: StringCodec library symbol selected for the boot session.
verb: Option<String>First payload argument, exposed as the loaded-lib verb.
args: Vec<OsString>Full payload argument list.
eval: Option<String>Eval text carried from --eval.
script: Option<PathBuf>Script path carried from --script.
stdin: Option<String>Stdin text carried from --stdin.
Trait Implementations§
Source§impl Clone for CliEnvelope
impl Clone for CliEnvelope
Source§fn clone(&self) -> CliEnvelope
fn clone(&self) -> CliEnvelope
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 CliEnvelope
impl Debug for CliEnvelope
impl Eq for CliEnvelope
Source§impl PartialEq for CliEnvelope
impl PartialEq for CliEnvelope
Source§fn eq(&self, other: &CliEnvelope) -> bool
fn eq(&self, other: &CliEnvelope) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CliEnvelope
Auto Trait Implementations§
impl Freeze for CliEnvelope
impl RefUnwindSafe for CliEnvelope
impl Send for CliEnvelope
impl Sync for CliEnvelope
impl Unpin for CliEnvelope
impl UnsafeUnpin for CliEnvelope
impl UnwindSafe for CliEnvelope
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