Module proc_macro::bridge::server
source · 🔬This is a nightly-only experimental API. (
proc_macro_internals
#27812)Expand description
Server-side traits.
Macros
- Declare an associated fn of one of the traits below, adding necessary default bodies.
Structs
- CrossThreadExperimental
- MaybeCrossThreadExperimental
- Keep
ALREADY_RUNNING_SAME_THREAD
(see also its documentation) set totrue
, preventing same-thread reentrance. - SameThreadExperimental
Constants
- While running a proc-macro with the same-thread executor, this flag will be set, forcing nested proc-macro invocations (e.g. due to
TokenStream::expand_expr
) to be run using a cross-thread executor.
Traits
- DispatcherTraitExperimental
- ExecutionStrategyExperimental
- FreeFunctionsExperimental
- MessagePipeExperimentalA message pipe used for communicating between server and client threads.
- ServerExperimental
- SourceFileExperimental
- SpanExperimental
- SymbolExperimental
- TokenStreamExperimental
- TypesExperimental