Struct ntex_mqtt::v5::control::Disconnect
source · pub struct Disconnect(_);
Implementations
sourceimpl Disconnect
impl Disconnect
sourcepub fn packet(&self) -> &Disconnect
pub fn packet(&self) -> &Disconnect
Returns reference to disconnect packet
sourcepub fn ack(self) -> ControlResult
pub fn ack(self) -> ControlResult
Ack disconnect message
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Disconnect
impl Send for Disconnect
impl Sync for Disconnect
impl Unpin for Disconnect
impl !UnwindSafe for Disconnect
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