pub enum ListScriptsError {
NotADir(PathBuf),
ReadDirFailure(Error),
}
Expand description
All errors triggered by the list scripts feature
Variants§
Trait Implementations§
Source§impl Debug for ListScriptsError
impl Debug for ListScriptsError
Source§impl Display for ListScriptsError
impl Display for ListScriptsError
Source§impl Error for ListScriptsError
impl Error for ListScriptsError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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<ListScriptsError> for FindScriptError
impl From<ListScriptsError> for FindScriptError
Source§fn from(source: ListScriptsError) -> Self
fn from(source: ListScriptsError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ListScriptsError
impl !RefUnwindSafe for ListScriptsError
impl Send for ListScriptsError
impl Sync for ListScriptsError
impl Unpin for ListScriptsError
impl !UnwindSafe for ListScriptsError
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