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<RedundantOpt> for Error
impl From<RedundantOpt> for Error
sourcefn from(opt: RedundantOpt) -> Self
fn from(opt: RedundantOpt) -> Self
Performs the conversion.
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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more