Trait net_types::Scope

source ·
pub trait Scope {
    // Required method
    fn can_have_zone(&self) -> bool;
Expand description

A scope used by ScopeableAddress. See that trait’s documentation for more information.

Scope is implemented for (). No addresses with the () scope can ever have an associated zone (in other words, ().can_have_zone() always returns false).

Required Methods§


fn can_have_zone(&self) -> bool

Can addresses in this scope have an associated zone?

Implementations on Foreign Types§


impl Scope for ()