pub struct IBSSParameterSetElement {
pub atim_window: u16,
}Expand description
The IBSS Parameter Set element contains the set of parameters necessary to support an IBSS.
Fields§
§atim_window: u16The ATIM window length in crate::common::TUs. Use the Self::atim_window_in_tu function to get the duration.
Implementations§
Source§impl IBSSParameterSetElement
impl IBSSParameterSetElement
Sourcepub const fn atim_window_in_tu(&self) -> Duration
pub const fn atim_window_in_tu(&self) -> Duration
Returns a Duration for the ATIM window length.
Sourcepub const fn new(atim_window_duration: Duration) -> Self
pub const fn new(atim_window_duration: Duration) -> Self
Create a new IBSSParameterSetElement from a Duration.
Trait Implementations§
Source§impl Clone for IBSSParameterSetElement
impl Clone for IBSSParameterSetElement
Source§fn clone(&self) -> IBSSParameterSetElement
fn clone(&self) -> IBSSParameterSetElement
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 IBSSParameterSetElement
impl Debug for IBSSParameterSetElement
Source§impl Default for IBSSParameterSetElement
impl Default for IBSSParameterSetElement
Source§fn default() -> IBSSParameterSetElement
fn default() -> IBSSParameterSetElement
Returns the “default value” for a type. Read more
Source§impl Element for IBSSParameterSetElement
impl Element for IBSSParameterSetElement
Source§const ELEMENT_ID: ElementID
const ELEMENT_ID: ElementID
The ID of this element.
Source§type ReadType<'a> = IBSSParameterSetElement
type ReadType<'a> = IBSSParameterSetElement
The type returned, by reading this element.
Source§const FRAGMENTABLE: bool = false
const FRAGMENTABLE: bool = false
Is the element fragmentable.
Source§fn wrap(self) -> WrappedIEEE80211Element<Self>
fn wrap(self) -> WrappedIEEE80211Element<Self>
Wrap this element in a WrappedIEEE80211Element, so the header will be written out.
Source§impl Format for IBSSParameterSetElement
impl Format for IBSSParameterSetElement
Source§impl Hash for IBSSParameterSetElement
impl Hash for IBSSParameterSetElement
Source§impl MeasureWith<()> for IBSSParameterSetElement
impl MeasureWith<()> for IBSSParameterSetElement
Source§fn measure_with(&self, _ctx: &()) -> usize
fn measure_with(&self, _ctx: &()) -> usize
How large is
Self, given the ctx?Source§impl Ord for IBSSParameterSetElement
impl Ord for IBSSParameterSetElement
Source§fn cmp(&self, other: &IBSSParameterSetElement) -> Ordering
fn cmp(&self, other: &IBSSParameterSetElement) -> 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 IBSSParameterSetElement
impl PartialEq for IBSSParameterSetElement
Source§impl PartialOrd for IBSSParameterSetElement
impl PartialOrd for IBSSParameterSetElement
Source§impl TryFromCtx<'_> for IBSSParameterSetElement
impl TryFromCtx<'_> for IBSSParameterSetElement
Source§impl TryIntoCtx for IBSSParameterSetElement
impl TryIntoCtx for IBSSParameterSetElement
impl Copy for IBSSParameterSetElement
impl Eq for IBSSParameterSetElement
impl StructuralPartialEq for IBSSParameterSetElement
Auto Trait Implementations§
impl Freeze for IBSSParameterSetElement
impl RefUnwindSafe for IBSSParameterSetElement
impl Send for IBSSParameterSetElement
impl Sync for IBSSParameterSetElement
impl Unpin for IBSSParameterSetElement
impl UnwindSafe for IBSSParameterSetElement
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