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§impl Debug for CliEnvelope
impl Debug for CliEnvelope
impl Eq for CliEnvelope
Source§impl PartialEq for CliEnvelope
impl PartialEq for CliEnvelope
impl StructuralPartialEq for CliEnvelope
Auto Trait Implementations§
impl Forget for CliEnvelope
impl Freeze for CliEnvelope
impl Move 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.