pub struct ClientConfig {
pub response_timeout: Duration,
pub ping_attempts: u32,
pub skip_bootloader: bool,
pub bootloader_delay: Duration,
}Expand description
Client settings.
Fields§
§response_timeout: DurationHow long to wait for each synchronous response.
ping_attempts: u32Pings before giving up at start.
skip_bootloader: boolSend the CC2652 bootloader skip byte first.
bootloader_delay: DurationHow long to wait after it.
Trait Implementations§
Source§impl Clone for ClientConfig
impl Clone for ClientConfig
Source§impl Debug for ClientConfig
impl Debug for ClientConfig
Auto Trait Implementations§
impl Freeze for ClientConfig
impl RefUnwindSafe for ClientConfig
impl Send for ClientConfig
impl Sync for ClientConfig
impl Unpin for ClientConfig
impl UnsafeUnpin for ClientConfig
impl UnwindSafe for ClientConfig
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