pub fn new_port_status_stream(
port_proxy: &PortProxy,
buffer: Option<u32>,
) -> Result<impl Stream<Item = Result<PortStatus>> + Unpin>Expand description
Creates a [Stream] of PortStatus from a netdev::PortProxy.
If buffer is None, a sensible nonzero default buffer size will be used.