mirror of
https://github.com/aljazceru/turso.git
synced 2026-02-08 09:44:21 +01:00
Rename LinuxIOError to UringIOError to match the IO backend renames
This commit is contained in:
@@ -21,7 +21,7 @@ pub enum LimboError {
|
||||
IOError(#[from] std::io::Error),
|
||||
#[cfg(all(target_os = "linux", feature = "io_uring"))]
|
||||
#[error("I/O error: {0}")]
|
||||
LinuxIOError(String),
|
||||
UringIOError(String),
|
||||
#[error("Locking error: {0}")]
|
||||
LockingError(String),
|
||||
#[cfg(target_family = "unix")]
|
||||
|
||||
@@ -165,7 +165,7 @@ impl IO for UringIO {
|
||||
while let Some(cqe) = ring.get_completion() {
|
||||
let result = cqe.result();
|
||||
if result < 0 {
|
||||
return Err(LimboError::LinuxIOError(format!(
|
||||
return Err(LimboError::UringIOError(format!(
|
||||
"{} cqe: {:?}",
|
||||
UringIOError::IOUringCQError(result),
|
||||
cqe
|
||||
|
||||
Reference in New Issue
Block a user