Struct device_connector::base::PrintLogFilterElement
source · pub struct PrintLogFilterElement { /* private fields */ }
Expand description
Count passed message size and print statistics.
Trait Implementations§
source§impl ElementBuildable for PrintLogFilterElement
impl ElementBuildable for PrintLogFilterElement
§type Config = PrintLogFilterElementConf
type Config = PrintLogFilterElementConf
Configuration type for this element
source§const NAME: &'static str = "print-log-filter"
const NAME: &'static str = "print-log-filter"
Name of this element. Must be unique in elements
source§const RECV_PORTS: Port = 1u8
const RECV_PORTS: Port = 1u8
The number of receiving ports
source§const SEND_PORTS: Port = 1u8
const SEND_PORTS: Port = 1u8
The number of sending ports
source§fn acceptable_msg_types() -> Vec<Vec<MsgType>>
fn acceptable_msg_types() -> Vec<Vec<MsgType>>
Returns acceptable message type of this element
source§fn next(
&mut self,
pipeline: &mut Pipeline,
receiver: &mut MsgReceiver
) -> ElementResult
fn next(
&mut self,
pipeline: &mut Pipeline,
receiver: &mut MsgReceiver
) -> ElementResult
Get message from
receiver
and returns the result of this element.