Skip to main content

Ethernet

Struct Ethernet 

Source
pub struct Ethernet {
    pub permanent_mac_address: Option<Option<String>>,
    pub mac_address: Option<Option<String>>,
    pub mtu_size: Option<Option<Int64>>,
    pub vlan: Option<Vlan>,
    pub mtu_size_maximum: Option<Option<Int64>>,
    pub additional_protocols: Option<Vec<Protocol>>,
    pub vlans: Option<ReferenceLeaf>,
    pub ethernet_interfaces: Option<NavProperty<EthernetInterfaceCollection>>,
}

Fields§

§permanent_mac_address: Option<Option<String>>

The permanent MAC address assigned to this function.

This property shall contain the permanent MAC Address of this function. Typically, this value is programmed during manufacturing. This address is not assignable.

§mac_address: Option<Option<String>>

The currently configured MAC address.

This property shall contain the effective current MAC address of this network device function. If an assignable MAC address is not supported, this is a read-only alias of the PermanentMACAddress.

§mtu_size: Option<Option<Int64>>

The hardware maximum transmission unit (MTU) configured for this network device function.

The hardware maximum transmission unit (MTU) configured for this network device function. This value serves as a default for the OS driver when booting, but may be overridden by the OS. After the OS boots and while the driver is loaded, the effective MTU size may be found in the associated EthernetInterface resource.

§vlan: Option<Vlan>

The VLAN information for this interface. If this network interface supports more than one VLAN, this property is not present.

This property shall contain the VLAN for this interface. If this interface supports more than one VLAN, the VLAN property shall not be present and the VLANs property shall be present instead.

§mtu_size_maximum: Option<Option<Int64>>

The largest maximum transmission unit (MTU) size supported for this network device function.

This property shall contain the largest maximum transmission unit (MTU) size supported for this network device function.

§additional_protocols: Option<Vec<Protocol>>

The protocols supported by the hardware or firmware on the device.

This property shall contain the list of protocols supported by the hardware or firmware on the device.

§vlans: Option<ReferenceLeaf>§ethernet_interfaces: Option<NavProperty<EthernetInterfaceCollection>>

The Ethernet interface collection that contains the interfaces on this network device function.

This property shall contain a link to a collection of type EthernetInterfaceCollection that represent the Ethernet interfaces present on this network device function. This property shall only be present if this NetworkDeviceFunction is not associated with a ComputerSystem, such as when in a ResourcePool or representing an Ethernet based storage device.

Trait Implementations§

Source§

impl Debug for Ethernet

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for Ethernet

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> PolicyExt for T
where T: ?Sized,

Source§

fn and<P, B, E>(self, other: P) -> And<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow only if self and other return Action::Follow. Read more
Source§

fn or<P, B, E>(self, other: P) -> Or<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow if either self or other returns Action::Follow. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,