1#[derive(Debug, PartialEq, Eq)]
2pub struct TimedError;
3
4impl core::fmt::Display for TimedError {
5 fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {
6 write!(f, "Operation timed out")
7 }
8}
9
10impl core::error::Error for TimedError {}