Struct Subscriber
pub struct Subscriber(pub(crate) Vec<Receiver<Result<Publish>>>);Expand description
Represents an MQTT subscriber that can receive Publish messages.
Tuple Fields§
§0: Vec<Receiver<Result<Publish>>>Implementations§
Trait Implementations§
§impl Clone for Subscriber
impl Clone for Subscriber
Auto Trait Implementations§
impl Freeze for Subscriber
impl RefUnwindSafe for Subscriber
impl Send for Subscriber
impl Sync for Subscriber
impl Unpin for Subscriber
impl UnwindSafe for Subscriber
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