pub struct ManagerConfig {
pub scan_options: ScanOptions,
pub default_reconnect_options: ReconnectOptions,
pub event_capacity: usize,
pub health_check_interval: Duration,
}Expand description
Configuration for the device manager.
Fields§
§scan_options: ScanOptionsDefault scan options.
default_reconnect_options: ReconnectOptionsDefault reconnect options for new devices.
event_capacity: usizeEvent channel capacity.
health_check_interval: DurationHealth check interval for auto-reconnect.
Trait Implementations§
Source§impl Clone for ManagerConfig
impl Clone for ManagerConfig
Source§fn clone(&self) -> ManagerConfig
fn clone(&self) -> ManagerConfig
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 ManagerConfig
impl Debug for ManagerConfig
Auto Trait Implementations§
impl Freeze for ManagerConfig
impl RefUnwindSafe for ManagerConfig
impl Send for ManagerConfig
impl Sync for ManagerConfig
impl Unpin for ManagerConfig
impl UnwindSafe for ManagerConfig
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