Struct ntex_mqtt::v3::UnsubscribeBuilder
source · pub struct UnsubscribeBuilder { /* private fields */ }
Expand description
Unsubscribe packet builder
Implementations§
source§impl UnsubscribeBuilder
impl UnsubscribeBuilder
sourcepub fn topic_filter(self, filter: ByteString) -> Self
pub fn topic_filter(self, filter: ByteString) -> Self
Add topic filter
sourcepub async fn send(self) -> Result<(), SendPacketError>
pub async fn send(self) -> Result<(), SendPacketError>
Send unsubscribe packet
Auto Trait Implementations§
impl !RefUnwindSafe for UnsubscribeBuilder
impl !Send for UnsubscribeBuilder
impl !Sync for UnsubscribeBuilder
impl Unpin for UnsubscribeBuilder
impl !UnwindSafe for UnsubscribeBuilder
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