Type Definition server_fn::ServerFnTraitObj
source · pub type ServerFnTraitObj<T> = dyn Fn(T, &[u8]) -> Pin<Box<dyn Future<Output = Result<Payload, ServerFnError>>>> + Send + Sync;
Expand description
A server function that can be called from the client.