pub type Handler<R> = Arc<dyn Fn(R, RecvStream, SendStream) -> Boxed<Result<(), SendError>> + Send + Sync + 'static>;Available on crate feature
rpc only.Expand description
Type alias for a handler fn for remote requests
Aliased Typeยง
pub struct Handler<R> { /* private fields */ }