Enum broot::shell_install::ShellInstallState [−][src]
pub enum ShellInstallState { Undefined, Refused, Installed, }
Variants
Implementations
impl ShellInstallState
[src]
impl ShellInstallState
[src]pub fn write_file(self) -> Result<(), ProgramError>
[src]
write either the “installed” or the “refused” file, or remove those files.
This is useful in installation or test scripts when we don’t want the user to be prompted to install the function, or in case something doesn’t properly work in shell detections
Trait Implementations
impl Clone for ShellInstallState
[src]
impl Clone for ShellInstallState
[src]fn clone(&self) -> ShellInstallState
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for ShellInstallState
[src]
impl Copy for ShellInstallState
[src]impl FromStr for ShellInstallState
[src]
impl FromStr for ShellInstallState
[src]Auto Trait Implementations
impl RefUnwindSafe for ShellInstallState
impl RefUnwindSafe for ShellInstallState
impl Send for ShellInstallState
impl Send for ShellInstallState
impl Sync for ShellInstallState
impl Sync for ShellInstallState
impl Unpin for ShellInstallState
impl Unpin for ShellInstallState
impl UnwindSafe for ShellInstallState
impl UnwindSafe for ShellInstallState