Skip to main content

WireSidecarCallback

Type Alias WireSidecarCallback 

Source
pub type WireSidecarCallback = Arc<dyn Fn(SidecarRequestPayload, OwnershipScope) -> BoxFuture<'static, Result<SidecarResponsePayload, TransportError>> + Send + Sync>;
Expand description

A registered callback that answers a sidecar-initiated request using generated wire types.

Aliased Typeยง

pub struct WireSidecarCallback { /* private fields */ }