pub enum NetworkReach {
Any,
PublicAndLoopback,
PublicOnly,
}Expand description
Which addresses a tool’s egress may name. Cloud metadata endpoints are refused for every tool, whatever this says.
Variants§
Any
Anything else, as a shell reaches the owner’s own network.
PublicAndLoopback
Public hosts and this computer.
PublicOnly
Public hosts only.
Trait Implementations§
Source§impl Clone for NetworkReach
impl Clone for NetworkReach
impl Copy for NetworkReach
Source§impl Debug for NetworkReach
impl Debug for NetworkReach
Source§impl Default for NetworkReach
impl Default for NetworkReach
impl Eq for NetworkReach
Source§impl PartialEq for NetworkReach
impl PartialEq for NetworkReach
impl StructuralPartialEq for NetworkReach
Auto Trait Implementations§
impl Forget for NetworkReach
impl Freeze for NetworkReach
impl Move for NetworkReach
impl RefUnwindSafe for NetworkReach
impl Send for NetworkReach
impl Sync for NetworkReach
impl Unpin for NetworkReach
impl UnsafeUnpin for NetworkReach
impl UnwindSafe for NetworkReach
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