#[non_exhaustive]pub enum PipelineError {
IoUringSyscall {
syscall: &'static str,
errno: i32,
fix: &'static str,
},
QueueFull {
queue: &'static str,
fix: &'static str,
},
NotLinux,
NvmePassthroughDisabled,
Backend(String),
}Expand description
Errors surfaced by the runtime layer. Every variant carries a
Fix:-bearing message so a reviewer can act on the failure.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
IoUringSyscall
Raw io_uring / libc syscall failed with an errno.
Fields
QueueFull
io_uring submission or completion queue was full / overflowed.
NotLinux
Attempted to use io_uring on a non-Linux platform.
NvmePassthroughDisabled
Feature required for NVMe passthrough is not enabled.
Backend(String)
Backend error bubbled up from compile or dispatch.
Trait Implementations§
Source§impl Clone for PipelineError
impl Clone for PipelineError
Source§fn clone(&self) -> PipelineError
fn clone(&self) -> PipelineError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PipelineError
impl Debug for PipelineError
Source§impl Display for PipelineError
impl Display for PipelineError
Source§impl Error for PipelineError
impl Error for PipelineError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<BackendError> for PipelineError
impl From<BackendError> for PipelineError
Source§fn from(err: BackendError) -> Self
fn from(err: BackendError) -> Self
Converts to this type from the input type.
Source§impl From<PipelineError> for TenantError
impl From<PipelineError> for TenantError
Source§fn from(source: PipelineError) -> Self
fn from(source: PipelineError) -> Self
Converts to this type from the input type.
Source§impl From<ReplayLogError> for PipelineError
Let callers bridge ReplayLogError into the unified PipelineError
surface when driving the log from the megakernel pump loop.
impl From<ReplayLogError> for PipelineError
Let callers bridge ReplayLogError into the unified PipelineError surface when driving the log from the megakernel pump loop.
Source§fn from(err: ReplayLogError) -> Self
fn from(err: ReplayLogError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PipelineError
impl RefUnwindSafe for PipelineError
impl Send for PipelineError
impl Sync for PipelineError
impl Unpin for PipelineError
impl UnsafeUnpin for PipelineError
impl UnwindSafe for PipelineError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more