pub fn serve<S>(
endpoint: IrohEndpoint,
options: ServeOptions,
svc: S,
) -> ServeHandleExpand description
Pure-Rust serve entry — convenience 3-arg wrapper that omits the
connection-event callback. Equivalent to serve_with_events(ep, opts, svc, None). The endpoint owns the returned serve cycle immediately,
so IrohEndpoint::stop_serve works without a separate handle-registration
call.