Skip to main content

client_capabilities

Function client_capabilities 

Source
pub fn client_capabilities() -> ClientCapabilities
Expand description

Build the full set of capabilities the client advertises in initialize. Pure – safe to call from any task / thread.

The structure is verbose by design: each Some(...) here is a deliberate “we handle this” promise. Anything left as None (or absent from the struct) is something we don’t yet implement; servers MAY still send it, but we ignore the response.