pub enum MqttMsgSend {
Publish {
topic: String,
retain: bool,
payload: Vec<u8>,
},
Subscribe {
topic: String,
},
}Expand description
Сообщения, отправляемые MQTT брокеру
Variants§
Trait Implementations§
Source§impl Clone for MqttMsgSend
impl Clone for MqttMsgSend
Source§fn clone(&self) -> MqttMsgSend
fn clone(&self) -> MqttMsgSend
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for MqttMsgSend
impl RefUnwindSafe for MqttMsgSend
impl Send for MqttMsgSend
impl Sync for MqttMsgSend
impl Unpin for MqttMsgSend
impl UnsafeUnpin for MqttMsgSend
impl UnwindSafe for MqttMsgSend
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more