pub struct ControlTable { /* private fields */ }Expand description
Lock-free tuning knobs shared between the controller and the data
path. Cheap to construct; share via Arc.
Implementations§
Source§impl ControlTable
impl ControlTable
Sourcepub fn level(&self) -> CodingLevel
pub fn level(&self) -> CodingLevel
Current coding escalation level.
Sourcepub fn interleave_depth(&self) -> u8
pub fn interleave_depth(&self) -> u8
Current interleave depth (1 = no interleaving).
Sourcepub fn tower_depth(&self) -> u8
pub fn tower_depth(&self) -> u8
Outer-tower rung depth (0 = block code only).
Sourcepub fn set_level(&self, level: CodingLevel)
pub fn set_level(&self, level: CodingLevel)
Publish a new coding level.
Sourcepub fn set_parity_r(&self, r: u8)
pub fn set_parity_r(&self, r: u8)
Publish a new parity count.
Sourcepub fn set_interleave_depth(&self, d: u8)
pub fn set_interleave_depth(&self, d: u8)
Publish a new interleave depth (clamped to at least 1).
Sourcepub fn set_inner_fec(&self, on: bool)
pub fn set_inner_fec(&self, on: bool)
Engage or disengage the intra-packet salvage code.
Sourcepub fn set_tower_depth(&self, d: u8)
pub fn set_tower_depth(&self, d: u8)
Publish a new outer-tower rung depth.
Trait Implementations§
Source§impl Debug for ControlTable
impl Debug for ControlTable
Auto Trait Implementations§
impl !Freeze for ControlTable
impl RefUnwindSafe for ControlTable
impl Send for ControlTable
impl Sync for ControlTable
impl Unpin for ControlTable
impl UnsafeUnpin for ControlTable
impl UnwindSafe for ControlTable
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