NetworkConfigReply
pub struct NetworkConfigReply
What came of Camera::request_network_config: taken or refused,
and on whose word.
NetworkConfigReply — fields
accepted: bool
true when the configuration was taken; false when the camera
refused it and stored nothing, with Self::refusal saying why.
camera_reported: bool
true when the camera itself stated the verdict and
Self::camera_config (the Xi 640 ETH over USB on firmware
reporting 4200..4399). false for a camera whose firmware states
none, and for a request not sent because it matched what the
camera already has; camera_config is then what you passed.
outcome: NetworkApplyResult
What the write did to this connection. Meaningful only when
Self::accepted.
refusal: NetworkRefusal
Why it was refused; NetworkRefusal::None when it was not.
refusal_code: u32
The camera's own number for the reason, 0 when not refused.
camera_config: NetworkConfig
The configuration the camera holds after the request: the new one when accepted, the one it kept when refused. Over USB the address and mask take effect at the camera's next start.