Skip to main content

WireFn

Type Alias WireFn 

Source
pub type WireFn = fn(&ClientHub, Arc<dyn EndpointResolver>, Option<&InternalTokenProvider>) -> Result<WireOutcome>;
Expand description

The wiring function pointer emitted by #[toolkit::consumes]. Registers the client into the ClientHub, given the endpoint resolver and the process’s platform-plane credential source (threaded onto a directory-resolving remote client). Aliased to keep the fn-pointer type readable.