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§
Source§impl ControlSetConfigurationError
impl ControlSetConfigurationError
pub fn from_primitive(prim: u32) -> Option<Self>
pub fn from_primitive_allow_unknown(prim: u32) -> Self
pub fn unknown() -> Self
pub const fn into_primitive(self) -> u32
pub fn is_unknown(&self) -> bool
Trait Implementations§
Source§impl Clone for ControlSetConfigurationError
impl Clone for ControlSetConfigurationError
Source§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 moreSource§impl Debug for ControlSetConfigurationError
impl Debug for ControlSetConfigurationError
Source§impl<D: ResourceDialect> Decode<ControlSetConfigurationError, D> for ControlSetConfigurationError
impl<D: ResourceDialect> Decode<ControlSetConfigurationError, D> for ControlSetConfigurationError
Source§impl<D: ResourceDialect> Encode<ControlSetConfigurationError, D> for ControlSetConfigurationError
impl<D: ResourceDialect> Encode<ControlSetConfigurationError, D> for ControlSetConfigurationError
Source§impl Hash for ControlSetConfigurationError
impl Hash for ControlSetConfigurationError
Source§impl Ord for ControlSetConfigurationError
impl Ord for ControlSetConfigurationError
Source§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,
Source§impl PartialEq for ControlSetConfigurationError
impl PartialEq for ControlSetConfigurationError
Source§fn eq(&self, other: &ControlSetConfigurationError) -> bool
fn eq(&self, other: &ControlSetConfigurationError) -> bool
self
and other
values to be equal, and is used by ==
.Source§impl PartialOrd for ControlSetConfigurationError
impl PartialOrd for ControlSetConfigurationError
Source§impl TypeMarker for ControlSetConfigurationError
impl TypeMarker for ControlSetConfigurationError
Source§type Owned = ControlSetConfigurationError
type Owned = ControlSetConfigurationError
Source§fn inline_align(_context: Context) -> usize
fn inline_align(_context: Context) -> usize
Source§fn inline_size(_context: Context) -> usize
fn inline_size(_context: Context) -> usize
inline_align
.Source§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 moreSource§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.Source§impl ValueTypeMarker for ControlSetConfigurationError
impl ValueTypeMarker for ControlSetConfigurationError
Source§type Borrowed<'a> = ControlSetConfigurationError
type Borrowed<'a> = ControlSetConfigurationError
Encode<Self>
type cheaply obtainable from &Self::Owned
. There are three cases: Read moreimpl Copy for ControlSetConfigurationError
impl Eq for ControlSetConfigurationError
impl StructuralPartialEq for ControlSetConfigurationError
Auto Trait Implementations§
impl Freeze for ControlSetConfigurationError
impl RefUnwindSafe for ControlSetConfigurationError
impl Send for ControlSetConfigurationError
impl Sync for ControlSetConfigurationError
impl Unpin for ControlSetConfigurationError
impl UnwindSafe for ControlSetConfigurationError
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)