[−][src]Enum netlink_wi::attributes::HeGuardInterval
Nl80211 HE guard interval.
These attribute types are used with RateInfo.HeGuardInterval
nl80211_he_gi enum from: https://github.com/torvalds/linux/blob/master/include/uapi/linux/nl80211.h
Variants
UnrecognizedVariant(u16)
Variant that signifies an invalid value while deserializing
Trait Implementations
impl Clone for HeGuardInterval
[src]
pub fn clone(&self) -> HeGuardInterval
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for HeGuardInterval
[src]
impl Eq for HeGuardInterval
[src]
impl<'a> From<&'a HeGuardInterval> for u16
[src]
pub fn from(v: &'a HeGuardInterval) -> Self
[src]
impl From<HeGuardInterval> for u16
[src]
pub fn from(v: HeGuardInterval) -> Self
[src]
impl From<u16> for HeGuardInterval
[src]
impl Hash for HeGuardInterval
[src]
pub fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Nl for HeGuardInterval
[src]
pub fn serialize(&self, mem: &mut StreamWriteBuffer<'_>) -> Result<(), SerError>
[src]
pub fn deserialize<T>(mem: &mut StreamReadBuffer<T>) -> Result<Self, DeError> where
T: AsRef<[u8]>,
[src]
T: AsRef<[u8]>,
pub fn size(&self) -> usize
[src]
pub fn asize(&self) -> usize
[src]
pub fn pad(&self, m: &mut StreamWriteBuffer<'_>) -> Result<(), SerError>
[src]
pub fn strip<T>(&self, m: &mut StreamReadBuffer<T>) -> Result<(), DeError> where
T: AsRef<[u8]>,
[src]
T: AsRef<[u8]>,
impl NlAttrType for HeGuardInterval
[src]
impl Ord for HeGuardInterval
[src]
pub fn cmp(&self, other: &HeGuardInterval) -> Ordering
[src]
#[must_use]pub fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn clamp(self, min: Self, max: Self) -> Self
1.50.0[src]
impl PartialEq<HeGuardInterval> for HeGuardInterval
[src]
pub fn eq(&self, other: &HeGuardInterval) -> bool
[src]
pub fn ne(&self, other: &HeGuardInterval) -> bool
[src]
impl PartialOrd<HeGuardInterval> for HeGuardInterval
[src]
pub fn partial_cmp(&self, other: &HeGuardInterval) -> Option<Ordering>
[src]
pub fn lt(&self, other: &HeGuardInterval) -> bool
[src]
pub fn le(&self, other: &HeGuardInterval) -> bool
[src]
pub fn gt(&self, other: &HeGuardInterval) -> bool
[src]
pub fn ge(&self, other: &HeGuardInterval) -> bool
[src]
impl StructuralEq for HeGuardInterval
[src]
impl StructuralPartialEq for HeGuardInterval
[src]
Auto Trait Implementations
impl RefUnwindSafe for HeGuardInterval
[src]
impl Send for HeGuardInterval
[src]
impl Sync for HeGuardInterval
[src]
impl Unpin for HeGuardInterval
[src]
impl UnwindSafe for HeGuardInterval
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,