Type Definition humphrey::app::ConnectionCondition[][src]

pub type ConnectionCondition<State> = fn(_: &mut TcpStream, _: Arc<State>) -> bool;
Expand description

Represents a function able to calculate whether a connection will be accepted.