Struct tor_netdir::SubnetConfig [−][src]
pub struct SubnetConfig { /* fields omitted */ }
Expand description
Configuration for determining when two relays have addresses “too close” in the network.
Used by Relay::in_same_subnet()
.
Implementations
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for SubnetConfig
impl Send for SubnetConfig
impl Sync for SubnetConfig
impl Unpin for SubnetConfig
impl UnwindSafe for SubnetConfig
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more