Module server
Server-side traits.
Structs
- Dispatcher
- HandleStore
- MaybeCrossThread
- MessagePipe A message pipe used for communicating between server and client threads.
-
RunningSameThreadGuard
Keep
ALREADY_RUNNING_SAME_THREAD(see also its documentation) set totrue, preventing same-thread reentrance.
Traits
Functions
Type Aliases
Constants
-
ALREADY_RUNNING_SAME_THREAD
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. - CROSS_THREAD
- SAME_THREAD