pub enum TimeoutError {
Real(TimeoutError),
Mock(Elapsed),
}
Variants§
Real(TimeoutError)
Mock(Elapsed)
Trait Implementations§
source§impl Debug for TimeoutError
impl Debug for TimeoutError
source§impl Display for TimeoutError
impl Display for TimeoutError
source§impl Error for TimeoutError
impl Error for TimeoutError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<Elapsed> for TimeoutError
impl From<Elapsed> for TimeoutError
source§impl From<TimeoutError> for TimeoutError
impl From<TimeoutError> for TimeoutError
source§fn from(error: TimeoutError) -> Self
fn from(error: TimeoutError) -> Self
Converts to this type from the input type.