pub struct ReceiverConfig {
pub local_address: Address,
pub apid: Apid,
pub function_code: u8,
pub immediate_ack: bool,
pub ack_delay_ticks: u32,
pub progress_timeout_ticks: Option<u32>,
}Expand description
Configuration for the receiver.
Fields§
§local_address: AddressLocal address of this receiver.
apid: ApidAPID filter for incoming packets.
function_code: u8cFE function code for outgoing ACK packets.
immediate_ack: boolIf true, send ACKs immediately; otherwise use delayed ACKs.
ack_delay_ticks: u32Delayed ACK timer duration in ticks.
progress_timeout_ticks: Option<u32>Progress timeout in ticks; None disables gap-skipping.
Implementations§
Source§impl ReceiverConfig
impl ReceiverConfig
Sourcepub fn builder() -> ReceiverConfigBuilder
pub fn builder() -> ReceiverConfigBuilder
Create an instance of ReceiverConfig using the builder syntax
Trait Implementations§
Source§impl Clone for ReceiverConfig
impl Clone for ReceiverConfig
Source§fn clone(&self) -> ReceiverConfig
fn clone(&self) -> ReceiverConfig
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 moreAuto Trait Implementations§
impl Freeze for ReceiverConfig
impl RefUnwindSafe for ReceiverConfig
impl Send for ReceiverConfig
impl Sync for ReceiverConfig
impl Unpin for ReceiverConfig
impl UnsafeUnpin for ReceiverConfig
impl UnwindSafe for ReceiverConfig
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