mirror of
https://github.com/edera-dev/krata.git
synced 2025-08-04 05:31:32 +00:00
krata: work on parallel reconciliation
This commit is contained in:
@ -8,8 +8,12 @@ pub enum Error {
|
||||
Kernel(#[from] nix::errno::Errno),
|
||||
#[error("io issue encountered: {0}")]
|
||||
Io(#[from] io::Error),
|
||||
#[error("failed to acquire semaphore: {0}")]
|
||||
AcquireSemaphoreFailed(#[from] tokio::sync::AcquireError),
|
||||
#[error("populate physmap failed")]
|
||||
PopulatePhysmapFailed,
|
||||
#[error("mmap batch failed: {0}")]
|
||||
MmapBatchFailed(nix::errno::Errno),
|
||||
}
|
||||
|
||||
pub type Result<T> = std::result::Result<T, Error>;
|
||||
|
Reference in New Issue
Block a user