pub enum MqttMsgRecv {
Connected,
Disconnected,
Received {
topic: String,
data: Vec<u8>,
},
}Expand description
Сообщения, полученные от MQTT брокера
Variants§
Trait Implementations§
Source§impl Clone for MqttMsgRecv
impl Clone for MqttMsgRecv
Source§fn clone(&self) -> MqttMsgRecv
fn clone(&self) -> MqttMsgRecv
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 MqttMsgRecv
impl RefUnwindSafe for MqttMsgRecv
impl Send for MqttMsgRecv
impl Sync for MqttMsgRecv
impl Unpin for MqttMsgRecv
impl UnsafeUnpin for MqttMsgRecv
impl UnwindSafe for MqttMsgRecv
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