Type Alias Authority
pub type Authority = Arc<dyn Fn(&Crossing<'_>) -> Result<(), String> + Sync + Send>;Expand description
Decides whether what crosses in may be taken (Relay::add_authority):
Err(reason) refuses it.
Aliased Typeยง
pub struct Authority { /* private fields */ }