Enum lsp_types::request::WillRenameFiles
source · [−]pub enum WillRenameFiles {}
Expand description
The will rename files request is sent from the client to the server before files are actually renamed as long as the rename is triggered from within the client. The request can return a WorkspaceEdit which will be applied to workspace before the files are renamed. 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 renames fast and reliable.
Trait Implementations
sourceimpl Request for WillRenameFiles
impl Request for WillRenameFiles
type Params = RenameFilesParams
type Result = Option<WorkspaceEdit>
const METHOD: &'static str = "workspace/willRenameFiles"
Auto Trait Implementations
impl RefUnwindSafe for WillRenameFiles
impl Send for WillRenameFiles
impl Sync for WillRenameFiles
impl Unpin for WillRenameFiles
impl UnwindSafe for WillRenameFiles
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more