Add timeout macro to simplify timeout logic

This commit is contained in:
Jeremy Soller
2020-02-20 21:09:10 -07:00
parent 85e7225e95
commit 369a695bd9
5 changed files with 76 additions and 44 deletions

View File

@ -1,7 +1,7 @@
use ectool::{
ec::Ec,
error::Error,
timeout::Timeout,
Ec,
Error,
Timeout,
};
use std::{
io,