krata: reorganize crates

This commit is contained in:
alex committed 2024-03-07 18:12:47 +00:00
1 parent c0eeab4047
commit 7bc0c95f00
97 files changed
+24 -24

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
use std::io;
#[derive(thiserror::Error, Debug)]
pub enum Error {
#[error("kernel error")]
Kernel(#[from] nix::errno::Errno),
#[error("io issue encountered")]
Io(#[from] io::Error),
#[error("failed to send event channel wake")]
WakeSend(tokio::sync::broadcast::error::SendError<u32>),
}
pub type Result<T> = std::result::Result<T, Error>;