pub struct SubratingParams {
pub subrate_factor: u16,
pub continuation_number: u16,
}Expand description
Connection subrating parameters
Fields§
§subrate_factor: u16Subrate factor: only every subrate_factor-th connection event is used.
continuation_number: u16Number of connection events to stay awake for after a non-empty packet.
Trait Implementations§
Source§impl Clone for SubratingParams
impl Clone for SubratingParams
Source§fn clone(&self) -> SubratingParams
fn clone(&self) -> SubratingParams
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SubratingParams
Source§impl Debug for SubratingParams
impl Debug for SubratingParams
Source§impl Format for SubratingParams
impl Format for SubratingParams
Source§impl PartialEq for SubratingParams
impl PartialEq for SubratingParams
impl StructuralPartialEq for SubratingParams
Auto Trait Implementations§
impl Freeze for SubratingParams
impl RefUnwindSafe for SubratingParams
impl Send for SubratingParams
impl Sync for SubratingParams
impl Unpin for SubratingParams
impl UnsafeUnpin for SubratingParams
impl UnwindSafe for SubratingParams
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