pub trait CommunicatorMethods {
// Provided methods
fn put(&self, _selector: &str, _message: Message) -> Result<()> { ... }
fn delete(&self, _selector: &str) -> Result<()> { ... }
fn get(
&self,
_selector: &str,
_message: Option<Message>,
_callback: Option<&mut dyn FnMut(QueryableMsg) -> Result<()>>,
) -> Result<()> { ... }
fn observe(&self, _selector: &str, _message: Option<Message>) -> Result<()> { ... }
fn watch(&self, _selector: &str, _message: Message) -> Result<()> { ... }
}Expand description
the communication methods to be implemented by a single session Communicator implementation
Provided Methods§
Sourcefn delete(&self, _selector: &str) -> Result<()>
fn delete(&self, _selector: &str) -> Result<()>
Send a delete message to the given selector.
§Errors
NotImplemented: there is no implementation within this communicator