Enum lsp_types::request::WillDeleteFiles
source · pub enum WillDeleteFiles {}
Expand description
The will delete files request is sent from the client to the server before files are actually deleted as long as the deletion is triggered from within the client. The request can return a WorkspaceEdit which will be applied to workspace before the files are deleted. Please note that clients might drop results if computing the edit took too long or if a server constantly fails on this request. This is done to keep deletes fast and reliable.
Trait Implementations§
source§impl Request for WillDeleteFiles
impl Request for WillDeleteFiles
Auto Trait Implementations§
impl RefUnwindSafe for WillDeleteFiles
impl Send for WillDeleteFiles
impl Sync for WillDeleteFiles
impl Unpin for WillDeleteFiles
impl UnwindSafe for WillDeleteFiles
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