pub trait HostFilter: Send + Sync {
// Required method
fn accept(&self, peer: &Peer) -> bool;
}Expand description
The HostFilter trait.
pub trait HostFilter: Send + Sync {
// Required method
fn accept(&self, peer: &Peer) -> bool;
}The HostFilter trait.