pub struct Config {
pub ack_timeout: Duration,
pub max_attempts: u32,
pub byte_timeout: Duration,
pub unsolicited_capacity: usize,
}Expand description
Link layer timing.
Fields§
§ack_timeout: DurationHow long to wait for ACK after a frame (1600 ms in the Host API).
max_attempts: u32Transmissions of one frame before giving up.
byte_timeout: DurationHow long a partially received frame may take to complete.
unsolicited_capacity: usizeUnsolicited frames buffered for the consumer before the oldest are dropped.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnsafeUnpin for Config
impl UnwindSafe for Config
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