1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
//! General OpCode errors use core::fmt; use core::fmt::Display; /// Harmonized error for OpCode impls creating submission() and completion() #[derive(Clone, Debug)] pub enum OpError {} impl Display for OpError { fn fmt(&self, _: &mut fmt::Formatter<'_>) -> fmt::Result { todo!() } } impl std::error::Error for OpError {}