Skip to main content

Module params

Module params 

Source
Expand description

Parameter analysis: a handler’s receiver and its parameters, each read from the call by type (transports DESIGN §2.2, §2.3).

No parameter is classified by its spelling. Every parameter type goes through ulo_transport::__private::Param<T, M>, implemented once for every FromCall<T> type and once for every FromContainer type, the marker M inferred, so an alias or a renamed import means what its type means.

Structs§

HandlerSig
A handler’s signature as the transport attribute reads it.
Param
One parameter after the receiver.

Enums§

Receiver
How the handler takes its controller.

Functions§

analyze
Reads sig. A handler takes &self or self: Arc<Self>; self, &mut self, another typed receiver or no receiver at all is a span error on the receiver or the name.