pub enum DataDirection {
None,
Ingress,
Egress,
}
Variants§
None
Indicates that this limit not enforced.
Ingress
Indicates that this limit is enforced on packets and bytes received by the network device function.
Egress
Indicates that this limit is enforced on packets and bytes transmitted by the network device function.
Trait Implementations§
source§impl Clone for DataDirection
impl Clone for DataDirection
source§fn clone(&self) -> DataDirection
fn clone(&self) -> DataDirection
Returns a copy 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 DataDirection
impl Debug for DataDirection
source§impl Default for DataDirection
impl Default for DataDirection
source§fn default() -> DataDirection
fn default() -> DataDirection
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for DataDirection
impl<'de> Deserialize<'de> for DataDirection
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