Enum ControlSetConfigurationError
pub enum ControlSetConfigurationError {
Ipv4ForwardingUnsupported,
Ipv4MulticastForwardingUnsupported,
Ipv4IgmpVersionUnsupported,
Ipv6ForwardingUnsupported,
Ipv6MulticastForwardingUnsupported,
Ipv6MldVersionUnsupported,
IllegalZeroValue,
ArpNotSupported,
NdpNotSupported,
IllegalNegativeValue,
// some variants omitted
}
Variants§
Ipv4ForwardingUnsupported
Indicates that the provided value for config.ipv4.forwarding
is
unsupported.
Ipv4MulticastForwardingUnsupported
Indicates that the provided value for config.ipv4.multicast_forwarding
is unsupported.
Ipv4IgmpVersionUnsupported
Indicates that the provided value for config.ipv4.igmp.version
is
unsupported.
Ipv6ForwardingUnsupported
Indicates that the provided value for config.ipv6.forwarding
is
unsupported.
Ipv6MulticastForwardingUnsupported
Indicates that the provided value for config.ipv6.multicast_forwarding
is unsupported.
Ipv6MldVersionUnsupported
Indicates that the provided value for config.ipv6.mld.version
is
unsupported.
IllegalZeroValue
Indicates that a zero value was provided for a field that must be nonzero.
ArpNotSupported
Indicates that ARP configurations are not supported for this device.
Devices without a link (notably loopback) do not support ARP.
NdpNotSupported
Indicates that NDP configurations are not supported for this device.
Devices without a link (notably loopback) do not support NDP.
IllegalNegativeValue
Indicates that a negative value was provided for a field that must be non-negative.
Implementations§
§impl ControlSetConfigurationError
impl ControlSetConfigurationError
pub fn from_primitive(prim: u32) -> Option<ControlSetConfigurationError>
pub fn from_primitive_allow_unknown(prim: u32) -> ControlSetConfigurationError
pub fn unknown() -> ControlSetConfigurationError
pub const fn into_primitive(self) -> u32
pub fn is_unknown(&self) -> bool
Trait Implementations§
§impl Clone for ControlSetConfigurationError
impl Clone for ControlSetConfigurationError
§fn clone(&self) -> ControlSetConfigurationError
fn clone(&self) -> ControlSetConfigurationError
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more§impl Debug for ControlSetConfigurationError
impl Debug for ControlSetConfigurationError
§impl<D> Decode<ControlSetConfigurationError, D> for ControlSetConfigurationErrorwhere
D: ResourceDialect,
impl<D> Decode<ControlSetConfigurationError, D> for ControlSetConfigurationErrorwhere
D: ResourceDialect,
§fn new_empty() -> ControlSetConfigurationError
fn new_empty() -> ControlSetConfigurationError
Self
. The specific value does not matter,
since it will be overwritten by decode
.§impl<D> Encode<ControlSetConfigurationError, D> for ControlSetConfigurationErrorwhere
D: ResourceDialect,
impl<D> Encode<ControlSetConfigurationError, D> for ControlSetConfigurationErrorwhere
D: ResourceDialect,
§impl Hash for ControlSetConfigurationError
impl Hash for ControlSetConfigurationError
§impl Ord for ControlSetConfigurationError
impl Ord for ControlSetConfigurationError
§fn cmp(&self, other: &ControlSetConfigurationError) -> Ordering
fn cmp(&self, other: &ControlSetConfigurationError) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
§impl PartialEq for ControlSetConfigurationError
impl PartialEq for ControlSetConfigurationError
§impl PartialOrd for ControlSetConfigurationError
impl PartialOrd for ControlSetConfigurationError
§impl TypeMarker for ControlSetConfigurationError
impl TypeMarker for ControlSetConfigurationError
§type Owned = ControlSetConfigurationError
type Owned = ControlSetConfigurationError
§fn inline_align(_context: Context) -> usize
fn inline_align(_context: Context) -> usize
§fn inline_size(_context: Context) -> usize
fn inline_size(_context: Context) -> usize
inline_align
.§fn encode_is_copy() -> bool
fn encode_is_copy() -> bool
Self::Owned
matches the FIDL wire
format and encoding requires no validation. When true, we can optimize
encoding arrays and vectors of Self::Owned
to a single memcpy. Read more§fn decode_is_copy() -> bool
fn decode_is_copy() -> bool
Self::Owned
matches the FIDL wire
format and decoding requires no validation. When true, we can optimize
decoding arrays and vectors of Self::Owned
to a single memcpy.§impl ValueTypeMarker for ControlSetConfigurationError
impl ValueTypeMarker for ControlSetConfigurationError
§type Borrowed<'a> = ControlSetConfigurationError
type Borrowed<'a> = ControlSetConfigurationError
Encode<Self>
type cheaply obtainable from &Self::Owned
. There are three cases: Read more§fn borrow(
value: &<ControlSetConfigurationError as TypeMarker>::Owned,
) -> <ControlSetConfigurationError as ValueTypeMarker>::Borrowed<'_>
fn borrow( value: &<ControlSetConfigurationError as TypeMarker>::Owned, ) -> <ControlSetConfigurationError as ValueTypeMarker>::Borrowed<'_>
&Self::Owned
to Self::Borrowed
.