pub enum WillSaveTextDocumentNotification {}Expand description
A document will save notification is sent from the client to the server before the document is actually saved.
Trait Implementations§
Source§impl Notification for WillSaveTextDocumentNotification
impl Notification for WillSaveTextDocumentNotification
const METHOD: LspNotificationMethod<'static> = LspNotificationMethod::TextDocumentWillSave
const MESSAGE_DIRECTION: MessageDirection = MessageDirection::ClientToServer
type Params = WillSaveTextDocumentParams
Auto Trait Implementations§
impl Freeze for WillSaveTextDocumentNotification
impl RefUnwindSafe for WillSaveTextDocumentNotification
impl Send for WillSaveTextDocumentNotification
impl Sync for WillSaveTextDocumentNotification
impl Unpin for WillSaveTextDocumentNotification
impl UnsafeUnpin for WillSaveTextDocumentNotification
impl UnwindSafe for WillSaveTextDocumentNotification
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