pub struct ShellOpts {
pub errexit: bool,
pub nounset: bool,
pub pipefail: bool,
pub xtrace: bool,
pub verbose: bool,
pub noexec: bool,
pub noclobber: bool,
pub allexport: bool,
pub noglob: bool,
pub posix: bool,
pub vi_mode: bool,
pub emacs_mode: bool,
}Expand description
Shell options controlled by set -o / set +o and single-letter flags.
Fields§
§errexit: bool§nounset: bool§pipefail: bool§xtrace: bool§verbose: bool§noexec: bool§noclobber: bool§allexport: bool§noglob: bool§posix: bool§vi_mode: bool§emacs_mode: boolTrait Implementations§
Auto Trait Implementations§
impl Freeze for ShellOpts
impl RefUnwindSafe for ShellOpts
impl Send for ShellOpts
impl Sync for ShellOpts
impl Unpin for ShellOpts
impl UnsafeUnpin for ShellOpts
impl UnwindSafe for ShellOpts
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