feat(evtchn): harden evtchn handling and improve api (#431)

This commit is contained in:
Alex Zenla
2024-12-14 18:03:33 -05:00
committed by GitHub
parent 960578efc4
commit ea9624955c
4 changed files with 92 additions and 69 deletions

View File

@ -12,6 +12,8 @@ pub enum Error {
LockAcquireFailed,
#[error("event port already in use")]
PortInUse,
#[error("failed to join blocking task")]
BlockingTaskJoin,
}
pub type Result<T> = std::result::Result<T, Error>;