mirror of
https://github.com/tokio-rs/tokio.git
synced 2025-09-28 12:10:37 +00:00
sync: export sync::notify::Notified future publicly (#3840)
This commit is contained in:
parent
cb147a2b3f
commit
21de476ae7
@ -428,6 +428,11 @@
|
||||
//! bounding of any kind.
|
||||
|
||||
cfg_sync! {
|
||||
/// Named future types.
|
||||
pub mod futures {
|
||||
pub use super::notify::Notified;
|
||||
}
|
||||
|
||||
mod barrier;
|
||||
pub use barrier::{Barrier, BarrierWaitResult};
|
||||
|
||||
|
@ -140,7 +140,7 @@ struct Waiter {
|
||||
_p: PhantomPinned,
|
||||
}
|
||||
|
||||
/// Future returned from `notified()`
|
||||
/// Future returned from [`Notify::notified()`]
|
||||
#[derive(Debug)]
|
||||
pub struct Notified<'a> {
|
||||
/// The `Notify` being received on.
|
||||
|
Loading…
x
Reference in New Issue
Block a user