Struct cap_primitives::net::Pool [−][src]
pub struct Pool { /* fields omitted */ }
Expand description
A representation of a set of network resources that may be accessed.
This is presently a very simple concept, though it could grow in sophistication in the future.
Implementations
Add a range of network addresses with a specific port to the pool.
Ambient Authority
This function allows ambient access to any IP address.
Add a specific net::SocketAddr
to the pool.
Ambient Authority
This function allows ambient access to any IP address.
Check whether the given address is within the pool.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Pool
impl UnwindSafe for Pool
Blanket Implementations
Mutably borrows from an owned value. Read more