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