pub struct RxFlowControl {
pub block_size: u8,
pub st_min: Duration,
}Expand description
Receive-side ISO-TP flow-control parameters (BS/STmin).
These values are advertised to the remote sender in FlowControl (FC) frames. Updating them at runtime allows shaping the sender’s rate based on backpressure.
Fields§
§block_size: u8Block size (0 = unlimited).
st_min: DurationMinimum separation time between consecutive frames.
Implementations§
Source§impl RxFlowControl
impl RxFlowControl
Sourcepub fn from_config(cfg: &IsoTpConfig) -> Self
pub fn from_config(cfg: &IsoTpConfig) -> Self
Build flow-control parameters from a node’s static configuration.
Trait Implementations§
Source§impl Clone for RxFlowControl
impl Clone for RxFlowControl
Source§fn clone(&self) -> RxFlowControl
fn clone(&self) -> RxFlowControl
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 RxFlowControl
impl Debug for RxFlowControl
Source§impl PartialEq for RxFlowControl
impl PartialEq for RxFlowControl
impl Copy for RxFlowControl
impl Eq for RxFlowControl
impl StructuralPartialEq for RxFlowControl
Auto Trait Implementations§
impl Freeze for RxFlowControl
impl RefUnwindSafe for RxFlowControl
impl Send for RxFlowControl
impl Sync for RxFlowControl
impl Unpin for RxFlowControl
impl UnsafeUnpin for RxFlowControl
impl UnwindSafe for RxFlowControl
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