pub struct NetworkDiscovery { /* private fields */ }Expand description
Network device discovery
Implementations§
Source§impl NetworkDiscovery
impl NetworkDiscovery
pub fn new() -> Result<Self>
Sourcepub fn discover_devices(
&self,
timeout_ms: u32,
) -> Result<Vec<NetworkDeviceSummary>>
pub fn discover_devices( &self, timeout_ms: u32, ) -> Result<Vec<NetworkDeviceSummary>>
Discover PoKeys devices on the network
Sourcepub fn search_device(
&self,
serial_number: u32,
timeout_ms: u32,
) -> Result<Option<NetworkDeviceSummary>>
pub fn search_device( &self, serial_number: u32, timeout_ms: u32, ) -> Result<Option<NetworkDeviceSummary>>
Search for specific device by serial number
Auto Trait Implementations§
impl Freeze for NetworkDiscovery
impl RefUnwindSafe for NetworkDiscovery
impl Send for NetworkDiscovery
impl Sync for NetworkDiscovery
impl Unpin for NetworkDiscovery
impl UnsafeUnpin for NetworkDiscovery
impl UnwindSafe for NetworkDiscovery
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