pub enum CodeActionsError {
GenerationFailed(String),
InvalidDiagnostic(String),
ApplicationFailed(String),
}Expand description
Error type for code actions operations
Variants§
GenerationFailed(String)
Action generation failed
InvalidDiagnostic(String)
Invalid diagnostic
ApplicationFailed(String)
Application failed
Trait Implementations§
Source§impl Clone for CodeActionsError
impl Clone for CodeActionsError
Source§fn clone(&self) -> CodeActionsError
fn clone(&self) -> CodeActionsError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CodeActionsError
impl Debug for CodeActionsError
Source§impl Display for CodeActionsError
impl Display for CodeActionsError
Source§impl Error for CodeActionsError
impl Error for CodeActionsError
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()
Auto Trait Implementations§
impl Freeze for CodeActionsError
impl RefUnwindSafe for CodeActionsError
impl Send for CodeActionsError
impl Sync for CodeActionsError
impl Unpin for CodeActionsError
impl UnwindSafe for CodeActionsError
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