Enum hyper_scripter::error::Error
source · [−]pub enum Error {
Show 22 variants
Others(Vec<String>, Option<Arc<dyn Send + Sync + Error + 'static>>),
SysPathNotFound(SysPath),
EmptyCreate,
PermissionDenied(Vec<PathBuf>),
PathNotFound(Vec<PathBuf>),
GeneralFS(Vec<PathBuf>, Arc<Error>),
PathExist(PathBuf),
ScriptExist(String),
ScriptIsFiltered(String),
ScriptNotFound(String),
NoAlias(String),
UnknownType(String),
Format(FormatCode, String),
ScriptError(i32),
PreRunError(i32),
EditorError(i32, Vec<String>),
RedundantOpt(RedundantOpt),
TagSelectorNotFound(String),
DontFuzz,
NoPreviousArgs,
Empty,
Completion,
}
Variants
Others(Vec<String>, Option<Arc<dyn Send + Sync + Error + 'static>>)
SysPathNotFound(SysPath)
EmptyCreate
PermissionDenied(Vec<PathBuf>)
PathNotFound(Vec<PathBuf>)
GeneralFS(Vec<PathBuf>, Arc<Error>)
PathExist(PathBuf)
ScriptExist(String)
ScriptIsFiltered(String)
ScriptNotFound(String)
NoAlias(String)
UnknownType(String)
Format(FormatCode, String)
ScriptError(i32)
PreRunError(i32)
EditorError(i32, Vec<String>)
RedundantOpt(RedundantOpt)
TagSelectorNotFound(String)
DontFuzz
NoPreviousArgs
Empty
Completion
Implementations
Trait Implementations
sourceimpl From<Error> for DisplayError
impl From<Error> for DisplayError
sourceimpl From<RedundantOpt> for Error
impl From<RedundantOpt> for Error
sourcefn from(opt: RedundantOpt) -> Self
fn from(opt: RedundantOpt) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl !RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl !UnwindSafe for Error
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more