pollable-map 0.2.0

Utilities for storing futures and streams as a pollable map
Documentation
1
2
3
4
5
6
7
8
9
10
#[derive(Debug, PartialEq, Eq)]
pub struct TimedError;

impl core::fmt::Display for TimedError {
    fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {
        write!(f, "Operation timed out")
    }
}

impl core::error::Error for TimedError {}