pub enum DidCloseTextDocumentNotification {}Expand description
The document close notification is sent from the client to the server when the document got closed in the client. The document’s truth now exists where the document’s uri points to (e.g. if the document’s uri is a file uri the truth now exists on disk). As with the open notification the close notification is about managing the document’s content. Receiving a close notification doesn’t mean that the document was open in an editor before. A close notification requires a previous open notification to be sent.
Trait Implementations§
Source§impl Notification for DidCloseTextDocumentNotification
impl Notification for DidCloseTextDocumentNotification
const METHOD: LspNotificationMethod<'static> = LspNotificationMethod::TextDocumentDidClose
const MESSAGE_DIRECTION: MessageDirection = MessageDirection::ClientToServer
type Params = DidCloseTextDocumentParams
Auto Trait Implementations§
impl Freeze for DidCloseTextDocumentNotification
impl RefUnwindSafe for DidCloseTextDocumentNotification
impl Send for DidCloseTextDocumentNotification
impl Sync for DidCloseTextDocumentNotification
impl Unpin for DidCloseTextDocumentNotification
impl UnsafeUnpin for DidCloseTextDocumentNotification
impl UnwindSafe for DidCloseTextDocumentNotification
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