Enum debounce::buffer::State [−][src]
pub enum State<T> {
Ready(T),
Wait(Duration),
Empty,
}
Expand description
Current state of the debouncing buffer returned from Get::get():
Ready(T)
when the event is ready to be delivered after the timeout (moves data out of the buffer)Wait(Duration)
indicates how much time is left untilReady
Empty
means the buffer is empty
Variants
Wait(Duration)
Tuple Fields of Wait
0: Duration