Struct SubscriptionTemplate
pub struct SubscriptionTemplate {
filter: TopicFilter,
tx: Sender<Message>,
}Fields§
§filter: TopicFilter§tx: Sender<Message>Implementations§
§impl SubscriptionTemplate
impl SubscriptionTemplate
pub(crate) fn new_single( capacity: usize, topic: Box<str>, qos: i32, ) -> (Self, Subscription)
Auto Trait Implementations§
impl Freeze for SubscriptionTemplate
impl RefUnwindSafe for SubscriptionTemplate
impl Send for SubscriptionTemplate
impl Sync for SubscriptionTemplate
impl Unpin for SubscriptionTemplate
impl UnwindSafe for SubscriptionTemplate
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