aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--embassy/src/channel/pubsub.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/embassy/src/channel/pubsub.rs b/embassy/src/channel/pubsub.rs
index 021225809..ea0ccb2da 100644
--- a/embassy/src/channel/pubsub.rs
+++ b/embassy/src/channel/pubsub.rs
@@ -495,6 +495,8 @@ impl<'s, 'a, T: Clone> Future for SubscriberWaitFuture<'s, 'a, T> {
495 } 495 }
496} 496}
497 497
498impl<'s, 'a, T: Clone> Unpin for SubscriberWaitFuture<'s, 'a, T> {}
499
498/// Future for the publisher wait action 500/// Future for the publisher wait action
499pub struct PublisherWaitFuture<'s, 'a, T: Clone> { 501pub struct PublisherWaitFuture<'s, 'a, T: Clone> {
500 /// The message we need to publish 502 /// The message we need to publish
@@ -526,6 +528,8 @@ impl<'s, 'a, T: Clone> Future for PublisherWaitFuture<'s, 'a, T> {
526 } 528 }
527} 529}
528 530
531impl<'s, 'a, T: Clone> Unpin for PublisherWaitFuture<'s, 'a, T> {}
532
529/// The result of the subscriber wait procedure 533/// The result of the subscriber wait procedure
530#[derive(Debug, Clone, PartialEq)] 534#[derive(Debug, Clone, PartialEq)]
531pub enum WaitResult<T> { 535pub enum WaitResult<T> {