pub enum NetworkStatusRequest {
DisconnectSystem(SystemPath),
ConnectSystem(SystemPath),
BlockSystem(SystemPath),
BlockIp(IpAddr),
BlockIpNet(IpNet),
AllowSystem(SystemPath),
AllowIp(IpAddr),
AllowIpNet(IpNet),
}Expand description
Requests for transport-specific network status operations.
Variants§
DisconnectSystem(SystemPath)
Request that the connection to the given system is gracefully closed.
ConnectSystem(SystemPath)
Request that a connection is established to the given system.
BlockSystem(SystemPath)
Request that a system path be blocked.
BlockIp(IpAddr)
Request that an IP address be blocked.
BlockIpNet(IpNet)
Request that an IP network be blocked.
AllowSystem(SystemPath)
Request that a previously blocked system be allowed again.
AllowIp(IpAddr)
Request that a previously blocked IP address be allowed again.
AllowIpNet(IpNet)
Request that a previously blocked IP network be allowed again.
Trait Implementations§
Source§impl Clone for NetworkStatusRequest
impl Clone for NetworkStatusRequest
Source§fn clone(&self) -> NetworkStatusRequest
fn clone(&self) -> NetworkStatusRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for NetworkStatusRequest
impl RefUnwindSafe for NetworkStatusRequest
impl Send for NetworkStatusRequest
impl Sync for NetworkStatusRequest
impl Unpin for NetworkStatusRequest
impl UnsafeUnpin for NetworkStatusRequest
impl UnwindSafe for NetworkStatusRequest
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more