pub struct LspErrorString(pub String, pub ErrorCode);Tuple Fields§
§0: String§1: ErrorCodeTrait Implementations§
Source§impl AsLspError for LspErrorString
impl AsLspError for LspErrorString
Source§impl Debug for LspErrorString
impl Debug for LspErrorString
Source§impl Display for LspErrorString
impl Display for LspErrorString
Source§impl Error for LspErrorString
impl Error for LspErrorString
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 LspErrorString
impl RefUnwindSafe for LspErrorString
impl Send for LspErrorString
impl Sync for LspErrorString
impl Unpin for LspErrorString
impl UnsafeUnpin for LspErrorString
impl UnwindSafe for LspErrorString
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