Struct device_connector::Pipeline
pub struct Pipeline(_);
Expand description
Rusty DcPipeline for ElementBuildable::next().
Implementations§
§impl Pipeline
impl Pipeline
pub fn send_msg_type_checked(&mut self) -> bool
pub fn recheck_send_msg_type(
&mut self,
port: u8,
msg_type: MsgType
) -> Result<(), TypeCheckError>
pub fn check_send_msg_type<F>(
&mut self,
port: u8,
msg_type: F
) -> Result<(), TypeCheckError>where
F: FnOnce() -> MsgType,
pub fn check_send_msg_type<F>(
&mut self,
port: u8,
msg_type: F
) -> Result<(), TypeCheckError>where
F: FnOnce() -> MsgType,
Checks message type to send.
On the first call, checks message type to send and returns the result. On subsequent calls, always returns Ok
.