pub fn new(mut sensor: Box<dyn Sensor>) -> Warp10Exporter {
        if let Some(topo) = *sensor.get_topology() {
            Warp10Exporter { topology: topo }
        } else {
            error!("Could'nt generate the Topology.");
            panic!("Could'nt generate the Topology.");
        }
    }
/// Instantiates and returns a new Warp10Exporter
Instantiates and returns a new Warp10Exporter
Instantiates and returns a new Warp10Exporter
pub fn new(mut sensor: Box<dyn Sensor>) -> Warp10Exporter {
        if let Some(topo) = *sensor.get_topology() {
            Warp10Exporter { topology: topo }
        } else {
            error!("Could'nt generate the Topology.");
            panic!("Could'nt generate the Topology.");
        }
    }
pub fn new ( mut sensor : Box < dyn Sensor > ) -> Warp10Exporter { if let Some ( topo ) = * sensor . get_topology ( ) { Warp10Exporter { topology : topo } } else { error ! ( " " ) ; panic ! ( " " ) ; } }
Instantiates and returns a new Warp10Exporter
Instantiates and returns a new Warp10Exporter
sensor
Box<dyn Sensor>
sensor
Box<dyn Sensor>