#[non_exhaustive]pub enum VersionInfoCapability {
SyncRouteWithTable,
Ip4Forwarding,
SriovPreserveOnDown,
}Available on crate feature
v1_42 only.Expand description
The numeric values represent the bit index of the capability. These capabilities can be queried in the “VersionInfo” D-Bus property.
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.
SyncRouteWithTable
Contains the fix to a bug that caused that routes in table other than main were not removed on reapply nor on connection down. https://issues.redhat.com/browse/RHEL-66262 https://issues.redhat.com/browse/RHEL-67324
Ip4Forwarding
Indicates that NetworkManager supports configuring per-device IPv4 sysctl forwarding setting. Since: 1.54.
SriovPreserveOnDown
NetworkManager supports the “sriov.preserve-on-down” property. Since: 1.54
Trait Implementations§
Source§impl Clone for VersionInfoCapability
impl Clone for VersionInfoCapability
Source§fn clone(&self) -> VersionInfoCapability
fn clone(&self) -> VersionInfoCapability
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for VersionInfoCapability
impl Debug for VersionInfoCapability
Source§impl From<VersionInfoCapability> for Value
impl From<VersionInfoCapability> for Value
Source§fn from(v: VersionInfoCapability) -> Self
fn from(v: VersionInfoCapability) -> Self
Converts to this type from the input type.
Source§impl<'a> FromValue<'a> for VersionInfoCapability
impl<'a> FromValue<'a> for VersionInfoCapability
Source§type Checker = GenericValueTypeChecker<VersionInfoCapability>
type Checker = GenericValueTypeChecker<VersionInfoCapability>
Value type checker.
Source§unsafe fn from_value(value: &'a Value) -> Self
unsafe fn from_value(value: &'a Value) -> Self
Get the contained value from a
Value. Read moreSource§impl HasParamSpec for VersionInfoCapability
impl HasParamSpec for VersionInfoCapability
type ParamSpec = ParamSpecEnum
Source§type SetValue = VersionInfoCapability
type SetValue = VersionInfoCapability
Preferred value to be used as setter for the associated ParamSpec.
type BuilderFn = fn(&str, VersionInfoCapability) -> ParamSpecEnumBuilder<'_, VersionInfoCapability>
fn param_spec_builder() -> Self::BuilderFn
Source§impl Hash for VersionInfoCapability
impl Hash for VersionInfoCapability
Source§impl Ord for VersionInfoCapability
impl Ord for VersionInfoCapability
Source§fn cmp(&self, other: &VersionInfoCapability) -> Ordering
fn cmp(&self, other: &VersionInfoCapability) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for VersionInfoCapability
impl PartialEq for VersionInfoCapability
Source§impl PartialOrd for VersionInfoCapability
impl PartialOrd for VersionInfoCapability
Source§impl StaticType for VersionInfoCapability
impl StaticType for VersionInfoCapability
Source§fn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of
Self.Source§impl ToValue for VersionInfoCapability
impl ToValue for VersionInfoCapability
Source§impl ValueType for VersionInfoCapability
impl ValueType for VersionInfoCapability
Source§type Type = VersionInfoCapability
type Type = VersionInfoCapability
Type to get the
Type from. Read moreimpl Copy for VersionInfoCapability
impl Eq for VersionInfoCapability
impl StructuralPartialEq for VersionInfoCapability
Auto Trait Implementations§
impl Freeze for VersionInfoCapability
impl RefUnwindSafe for VersionInfoCapability
impl Send for VersionInfoCapability
impl Sync for VersionInfoCapability
impl Unpin for VersionInfoCapability
impl UnwindSafe for VersionInfoCapability
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoClosureReturnValue for T
impl<T> IntoClosureReturnValue for T
fn into_closure_return_value(self) -> Option<Value>
Source§impl<T> PropertyGet for Twhere
T: HasParamSpec,
impl<T> PropertyGet for Twhere
T: HasParamSpec,
Source§impl<T> StaticTypeExt for Twhere
T: StaticType,
impl<T> StaticTypeExt for Twhere
T: StaticType,
Source§fn ensure_type()
fn ensure_type()
Ensures that the type has been registered with the type system.
Source§impl<T> ToSendValue for T
impl<T> ToSendValue for T
Source§fn to_send_value(&self) -> SendValue
fn to_send_value(&self) -> SendValue
Returns a
SendValue clone of self.