gix_protocol

Type Alias AuthenticateFn

Source
pub type AuthenticateFn<'a> = Box<dyn FnMut(Action) -> Result + 'a>;
Available on crate feature handshake only.
Expand description

A function that performs a given credential action, trying to obtain credentials for an operation that needs it.

Useful for both fetch and push.

Aliased Typeยง

struct AuthenticateFn<'a>(/* private fields */);