pub enum EditorBuilderError {
NoCommand,
EmptyCommand,
ParseError(ParseError),
}
Expand description
Any error that can occur while loading the editor command.
Variants§
NoCommand
Couldn’t find an editor command anywhere
EmptyCommand
The editor command was found, but it’s just an empty/whitespace string
ParseError(ParseError)
Editor command couldn’t be parsed in a shell-like format
Trait Implementations§
Source§impl Debug for EditorBuilderError
impl Debug for EditorBuilderError
Source§impl Display for EditorBuilderError
impl Display for EditorBuilderError
Source§impl Error for EditorBuilderError
impl Error for EditorBuilderError
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()
Auto Trait Implementations§
impl Freeze for EditorBuilderError
impl RefUnwindSafe for EditorBuilderError
impl Send for EditorBuilderError
impl Sync for EditorBuilderError
impl Unpin for EditorBuilderError
impl UnwindSafe for EditorBuilderError
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