pub enum ServiceResult {
Response(Value),
Error(LspError),
NoResponse,
}Expand description
The only outcomes of normalized user dispatch.
Variants§
Response(Value)
A successful request result.
Error(LspError)
A request error.
NoResponse
No response, as required for notifications.
Auto Trait Implementations§
impl Freeze for ServiceResult
impl RefUnwindSafe for ServiceResult
impl Send for ServiceResult
impl Sync for ServiceResult
impl Unpin for ServiceResult
impl UnsafeUnpin for ServiceResult
impl UnwindSafe for ServiceResult
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