NetworkDiscoveryInfo
pub struct NetworkDiscoveryInfo
What a network camera said about itself the last time it answered
discovery: the fields crate::DeviceInfo has no place for.
#[non_exhaustive]: read the fields, do not build one.
NetworkDiscoveryInfo — fields
serial: String
The camera's serial number.
mac_address: String
The camera's MAC address, 9C:43:1E:70:40:3E. The address
configure_network_by_broadcast is given.
address: String
The address the camera has now.
stream_destination: String
Where the camera sends its stream, as it reported it.
stream_port: u16
The UDP port it sends the stream to.
hardware_revision: u32
As in crate::DeviceInfo.
firmware_revision: u32
As in crate::DeviceInfo.
protocol_version: u16
The version of the discovery record. 1000: the camera answers by
unicast and cannot be configured by broadcast. 1001: it answers
by broadcast, so it is found from a host in another subnet of the
same network segment, and it understands
configure_network_by_broadcast.
answers_by_broadcast: bool
protocol_version is 1001 or later.
accepts_broadcast_config: bool
The camera accepts a network setting by broadcast. False for a camera that cannot take one and for one whose owner has switched it off.
policy: u8
The camera's policy byte as it sent it; bit 0 is
accepts_broadcast_config. Zero for a version 1000 camera.
heard_on: String
This host's address on the interface the reply arrived on.
age: Duration
How long ago the reply was heard.