Enum broot::errors::ShellInstallError
source · pub enum ShellInstallError {
Io {
source: Error,
when: String,
},
}
Variants§
Implementations§
source§impl ShellInstallError
impl ShellInstallError
pub fn is_permission_denied(&self) -> bool
Trait Implementations§
source§impl Debug for ShellInstallError
impl Debug for ShellInstallError
source§impl Display for ShellInstallError
impl Display for ShellInstallError
source§impl Error for ShellInstallError
impl Error for ShellInstallError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<ShellInstallError> for ProgramError
impl From<ShellInstallError> for ProgramError
source§fn from(source: ShellInstallError) -> Self
fn from(source: ShellInstallError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for ShellInstallError
impl Send for ShellInstallError
impl Sync for ShellInstallError
impl Unpin for ShellInstallError
impl !UnwindSafe for ShellInstallError
Blanket Implementations§
§impl<T> AsErrorSource for Twhere
T: Error + 'static,
impl<T> AsErrorSource for Twhere T: Error + 'static,
§fn as_error_source(&self) -> &(dyn Error + 'static)
fn as_error_source(&self) -> &(dyn Error + 'static)
For maximum effectiveness, this needs to be called as a method
to benefit from Rust’s automatic dereferencing of method
receivers.