#[non_exhaustive]pub enum PermissionNetworkAxis {
Restricted,
ProxyOnly,
Enabled,
Unknown(String),
}Expand description
A profile’s effective local-command network axis. Open: the vocabulary can widen.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Restricted
Fully restricted network (LocalCommandNetworkModeV1::Restricted).
ProxyOnly
Proxy-only network; direct local-command network is off
(LocalCommandNetworkModeV1::ProxyOnly — wire "off").
Enabled
Direct local-command network access
(LocalCommandNetworkModeV1::Enabled).
Unknown(String)
A value from a newer host, kept verbatim so an older client decodes the rest of the message. Excluded from the generated schema while the enum stays declared open; never construct it with a known word.
Implementations§
Trait Implementations§
Source§impl Clone for PermissionNetworkAxis
impl Clone for PermissionNetworkAxis
Source§impl Debug for PermissionNetworkAxis
impl Debug for PermissionNetworkAxis
Source§impl<'de> Deserialize<'de> for PermissionNetworkAxis
impl<'de> Deserialize<'de> for PermissionNetworkAxis
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 PermissionNetworkAxis
Source§impl PartialEq for PermissionNetworkAxis
impl PartialEq for PermissionNetworkAxis
Source§impl Serialize for PermissionNetworkAxis
impl Serialize for PermissionNetworkAxis
impl StructuralPartialEq for PermissionNetworkAxis
Auto Trait Implementations§
impl Freeze for PermissionNetworkAxis
impl RefUnwindSafe for PermissionNetworkAxis
impl Send for PermissionNetworkAxis
impl Sync for PermissionNetworkAxis
impl Unpin for PermissionNetworkAxis
impl UnsafeUnpin for PermissionNetworkAxis
impl UnwindSafe for PermissionNetworkAxis
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