pub struct Publish(_);
Implementations
sourceimpl Publish
impl Publish
sourcepub fn packet_mut(&mut self) -> &mut Publish
pub fn packet_mut(&mut self) -> &mut Publish
Returns reference to publish packet
pub fn ack_qos0(self) -> ControlResult
pub fn ack(self, reason_code: PublishAckReason) -> ControlResult
pub fn ack_with(
self,
reason_code: PublishAckReason,
properties: UserProperties,
reason_string: Option<ByteString>
) -> ControlResult
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Publish
impl Send for Publish
impl Sync for Publish
impl Unpin for Publish
impl !UnwindSafe for Publish
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more