pub enum SymbolError {
MissingArgument(&'static str),
InvalidIdentifier(String),
FileNotFound(PathBuf),
SymbolNotFound(String),
Lsp(String),
Io(Error),
EditFailed(String),
}Expand description
Errors that can occur during symbol operations.
Variants§
MissingArgument(&'static str)
InvalidIdentifier(String)
FileNotFound(PathBuf)
SymbolNotFound(String)
Lsp(String)
Io(Error)
EditFailed(String)
Trait Implementations§
Source§impl Debug for SymbolError
impl Debug for SymbolError
Source§impl Display for SymbolError
impl Display for SymbolError
Source§impl Error for SymbolError
impl Error for SymbolError
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 SymbolError
impl !RefUnwindSafe for SymbolError
impl Send for SymbolError
impl Sync for SymbolError
impl Unpin for SymbolError
impl UnsafeUnpin for SymbolError
impl !UnwindSafe for SymbolError
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