pub struct SupervisorConfig {
pub registry: Arc<DeviceRegistry>,
pub baud_rate: u32,
pub scan_interval: Duration,
pub aliases: Vec<(String, String)>,
}Expand description
Configuration for the hotplug supervisor loop.
Fields§
§registry: Arc<DeviceRegistry>§baud_rate: u32§scan_interval: Duration§aliases: Vec<(String, String)>Auto Trait Implementations§
impl !RefUnwindSafe for SupervisorConfig
impl !UnwindSafe for SupervisorConfig
impl Freeze for SupervisorConfig
impl Send for SupervisorConfig
impl Sync for SupervisorConfig
impl Unpin for SupervisorConfig
impl UnsafeUnpin for SupervisorConfig
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