Skip to main content

Module client

Module client 

Source
Expand description

Definitions and operations for the proc macro client operated in rust-analyzer.

Structsยง

MacroDylib
Represents a dynamically loaded library containing procedural macros.
ProcMacro
A handle to a specific proc-macro (a #[proc_macro] annotated function).
ProcMacroClient
A handle to proc-macro server process pool which load dylibs with macros (.so or .dll) and runs actual macro expansion functions.
ServerError
Represents errors encountered when communicating with the proc-macro server.