Enum libmacchina::traits::ShellKind
source · pub enum ShellKind {
Current,
Default,
}
Expand description
There are two distinct kinds of shells, a so called “current” shell, i.e. the shell the user is currently using.
And a default shell, i.e. that the user sets for themselves using the chsh
tool.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ShellKind
impl RefUnwindSafe for ShellKind
impl Send for ShellKind
impl Sync for ShellKind
impl Unpin for ShellKind
impl UnwindSafe for ShellKind
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