pub struct ShellOptions {
pub image: PathBuf,
pub readonly: bool,
pub history: Option<PathBuf>,
}Expand description
Configuration passed to crate::run.
Fields§
§image: PathBufPath to the Minix v1 filesystem image to operate on.
readonly: boolWhen true, every mutating command is refused with a friendly error.
history: Option<PathBuf>Where to read / write line-edit history.
None keeps history in memory only; Some(path) persists across
sessions, creating the file (and any missing parents) on save.
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