Sha256: 74c2717c1f9a37587a367da1b690d1cd2312e95dbaffca42be4755f1cd164bb8
Contents?: true
Size: 356 Bytes
Versions: 27
Compression:
Stored size: 356 Bytes
Contents
/// Extracts the successful type of a `Poll<T>`. /// /// This macro bakes in propagation of `Pending` signals by returning early. #[macro_export] macro_rules! ready { ($e:expr $(,)?) => { match $e { $crate::task::Poll::Ready(t) => t, $crate::task::Poll::Pending => return $crate::task::Poll::Pending, } }; }
Version data entries
27 entries across 27 versions & 1 rubygems