Struct device_connector::base::StdoutSinkElement
source · pub struct StdoutSinkElement { /* private fields */ }
Expand description
Emits received message to stdout.
Trait Implementations§
source§impl ElementBuildable for StdoutSinkElement
impl ElementBuildable for StdoutSinkElement
§type Config = StdoutSinkElementConf
type Config = StdoutSinkElementConf
Configuration type for this element
source§const RECV_PORTS: Port = 1u8
const RECV_PORTS: Port = 1u8
The number of receiving 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.source§const SEND_PORTS: Port = 0u8
const SEND_PORTS: Port = 0u8
The number of sending ports