Trait sybot::PushRemote

source ·
pub trait PushRemote {
    // Required methods
    fn push_phis(&mut self, phis: &[Phi]) -> Result<(), Error>;
    fn push_other(&mut self, other: PushMsg) -> Result<(), Error>;
    fn push_any(&mut self, msg_type: &str, msg: &[u8]) -> Result<(), Error>;
}
Expand description

A PushRemote defines a remote connection that the robot can push values to

Required Methods§

source

fn push_phis(&mut self, phis: &[Phi]) -> Result<(), Error>

Publish a set of phis to the remote connection

source

fn push_other(&mut self, other: PushMsg) -> Result<(), Error>

source

fn push_any(&mut self, msg_type: &str, msg: &[u8]) -> Result<(), Error>

Implementors§