usestd::time::Duration;/// Describes a possible timeout for a mapping
#[derive(Debug, Clone, Copy)]pubenumMaybeTimeout{/// Indicates that a mapping should never time out
Never,/// Indicates that a mapping should time out after a given duration
After {
duration: Duration,
start:std::time::Instant,},}