pub struct DeviceDiscoveryConfig {
pub auto_discovery: bool,
pub discovery_protocol: DiscoveryProtocol,
pub discovery_interval: u64,
pub max_devices: usize,
pub heartbeat_interval: u64,
pub device_timeout: u64,
}Expand description
Device discovery and management configuration
Fields§
§auto_discovery: boolEnable automatic device discovery
discovery_protocol: DiscoveryProtocolDiscovery protocol
discovery_interval: u64Discovery interval in seconds
max_devices: usizeMaximum devices to manage
heartbeat_interval: u64Device heartbeat interval
device_timeout: u64Device timeout threshold
Trait Implementations§
Source§impl Clone for DeviceDiscoveryConfig
impl Clone for DeviceDiscoveryConfig
Source§fn clone(&self) -> DeviceDiscoveryConfig
fn clone(&self) -> DeviceDiscoveryConfig
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 DeviceDiscoveryConfig
impl Debug for DeviceDiscoveryConfig
Source§impl Default for DeviceDiscoveryConfig
impl Default for DeviceDiscoveryConfig
Source§impl<'de> Deserialize<'de> for DeviceDiscoveryConfig
impl<'de> Deserialize<'de> for DeviceDiscoveryConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for DeviceDiscoveryConfig
impl RefUnwindSafe for DeviceDiscoveryConfig
impl Send for DeviceDiscoveryConfig
impl Sync for DeviceDiscoveryConfig
impl Unpin for DeviceDiscoveryConfig
impl UnsafeUnpin for DeviceDiscoveryConfig
impl UnwindSafe for DeviceDiscoveryConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more