pub struct Server {
pub store: Store,
/* private fields */
}
Fields§
§store: Store
Implementations§
Source§impl Server
impl Server
Sourcepub fn lint_all_documents(&mut self)
pub fn lint_all_documents(&mut self)
Lint all documents with the custom linter.
Sourcepub fn publish_diagnostics(&mut self) -> Result<()>
pub fn publish_diagnostics(&mut self) -> Result<()>
Publish all the diagnostics of the store. This will override all diagnostics that have already been sent to the client.
Auto Trait Implementations§
impl Freeze for Server
impl !RefUnwindSafe for Server
impl Send for Server
impl Sync for Server
impl Unpin for Server
impl !UnwindSafe for Server
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