Enum OwnedRetransmit
enum OwnedRetransmit {
Publish {
packet_id: PacketId,
qos: QoS,
topic: TopicBuf,
payload: Vec<u8>,
retain: bool,
properties: PublishPropertiesBuf,
},
Pubrel {
packet_id: PacketId,
},
}Expand description
Owned copy of retransmission data, used to bridge the sync
for_each_retransmit callback and async packet writing.
Variants§
Auto Trait Implementations§
impl Freeze for OwnedRetransmit
impl RefUnwindSafe for OwnedRetransmit
impl Send for OwnedRetransmit
impl Sync for OwnedRetransmit
impl Unpin for OwnedRetransmit
impl UnwindSafe for OwnedRetransmit
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