pub enum ConfigurationRequest {}Expand description
The ‘workspace/configuration’ request is sent from the server to the client to fetch a certain configuration setting.
This pull model replaces the old push model were the client signaled configuration change via an
event. If the server still needs to react to configuration changes (since the server caches the
result of workspace/configuration requests) the server should register for an empty configuration
change event and empty the cache if such an event is received.
Trait Implementations§
Source§impl Debug for ConfigurationRequest
impl Debug for ConfigurationRequest
Source§impl Request for ConfigurationRequest
impl Request for ConfigurationRequest
const METHOD: LspRequestMethod<'static> = LspRequestMethod::WorkspaceConfiguration
const MESSAGE_DIRECTION: MessageDirection = MessageDirection::ServerToClient
type Params = ConfigurationParams
type Result = Vec<Value>
Auto Trait Implementations§
impl Freeze for ConfigurationRequest
impl RefUnwindSafe for ConfigurationRequest
impl Send for ConfigurationRequest
impl Sync for ConfigurationRequest
impl Unpin for ConfigurationRequest
impl UnsafeUnpin for ConfigurationRequest
impl UnwindSafe for ConfigurationRequest
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