pub struct ShellOptions {
pub cwd: Option<String>,
pub env: Option<HashMap<String, String>>,
pub cols: u16,
pub rows: u16,
pub reconnect: Option<ShellReconnectOptions>,
}Expand description
Options for crate::Sandbox::shell.
Fields§
§cwd: Option<String>§env: Option<HashMap<String, String>>§cols: u16§rows: u16§reconnect: Option<ShellReconnectOptions>None disables auto-reconnect; Some(_) uses the supplied tuning.
Trait Implementations§
Source§impl Clone for ShellOptions
impl Clone for ShellOptions
Source§fn clone(&self) -> ShellOptions
fn clone(&self) -> ShellOptions
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 ShellOptions
impl Debug for ShellOptions
Auto Trait Implementations§
impl Freeze for ShellOptions
impl RefUnwindSafe for ShellOptions
impl Send for ShellOptions
impl Sync for ShellOptions
impl Unpin for ShellOptions
impl UnsafeUnpin for ShellOptions
impl UnwindSafe for ShellOptions
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