pub enum LimitsNetworkMode {
Restricted,
Enabled,
ProxyOnly,
}Expand description
The sandbox-network axis values. Closed: a client selects one of the three serve spellings and can never construct another; the socket promise is same-version, so the result use needs no unknown arm.
Variants§
Restricted
restricted: no network for sandboxed shells.
Enabled
enabled: full network for sandboxed shells — also what a sandbox-OFF
ceiling reports, so the plain per-axis compare needs no special case.
ProxyOnly
proxy-only: the built-in default.
Trait Implementations§
Source§impl Clone for LimitsNetworkMode
impl Clone for LimitsNetworkMode
impl Copy for LimitsNetworkMode
Source§impl Debug for LimitsNetworkMode
impl Debug for LimitsNetworkMode
Source§impl<'de> Deserialize<'de> for LimitsNetworkMode
impl<'de> Deserialize<'de> for LimitsNetworkMode
Source§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
impl Eq for LimitsNetworkMode
Source§impl PartialEq for LimitsNetworkMode
impl PartialEq for LimitsNetworkMode
Source§impl Serialize for LimitsNetworkMode
impl Serialize for LimitsNetworkMode
impl StructuralPartialEq for LimitsNetworkMode
Auto Trait Implementations§
impl Freeze for LimitsNetworkMode
impl RefUnwindSafe for LimitsNetworkMode
impl Send for LimitsNetworkMode
impl Sync for LimitsNetworkMode
impl Unpin for LimitsNetworkMode
impl UnsafeUnpin for LimitsNetworkMode
impl UnwindSafe for LimitsNetworkMode
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