pub struct Subscription<M> { /* private fields */ }
Expand description
A structure that represents a subscription to the given topic
Implementations§
Source§impl<M> Subscription<M>where
M: DeserializeOwned,
impl<M> Subscription<M>where
M: DeserializeOwned,
Auto Trait Implementations§
impl<M> Freeze for Subscription<M>
impl<M> RefUnwindSafe for Subscription<M>where
M: RefUnwindSafe,
impl<M> Send for Subscription<M>where
M: Send,
impl<M> Sync for Subscription<M>where
M: Sync,
impl<M> Unpin for Subscription<M>where
M: Unpin,
impl<M> UnwindSafe for Subscription<M>where
M: UnwindSafe,
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