pub enum ResultSource {
External {
server: String,
},
Internal,
Merged {
sources: Vec<String>,
},
}Expand description
Source of an LSP result
Variants§
External
From external LSP server
Internal
From internal fallback provider
Merged
Merged from multiple sources
Trait Implementations§
Source§impl Clone for ResultSource
impl Clone for ResultSource
Source§fn clone(&self) -> ResultSource
fn clone(&self) -> ResultSource
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 moreAuto Trait Implementations§
impl Freeze for ResultSource
impl RefUnwindSafe for ResultSource
impl Send for ResultSource
impl Sync for ResultSource
impl Unpin for ResultSource
impl UnwindSafe for ResultSource
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