PushRemote

Trait 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>

Publish a new PushMsg

Source

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

Publish any type via bytes

Implementors§