pub enum StreamCtrl<S>where
S: Spec + 'static,{
Subscribe(SubscribeMessage<S>),
Unsubscribe(S::SubscriptionId),
Stop,
}Variants§
Subscribe(SubscribeMessage<S>)
Add a subscription
Unsubscribe(S::SubscriptionId)
Desuscribe
Stop
Exit the loop
Trait Implementations§
Auto Trait Implementations§
impl<S> Freeze for StreamCtrl<S>
impl<S> RefUnwindSafe for StreamCtrl<S>
impl<S> Send for StreamCtrl<S>
impl<S> Sync for StreamCtrl<S>
impl<S> Unpin for StreamCtrl<S>
impl<S> UnwindSafe for StreamCtrl<S>
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