use giterated_models::error::OperationError; use crate::FfiSlice; #[repr(C)] pub enum FfiResult { Ok(T), Err(E), } #[repr(C)] pub struct FfiError { last_error: FfiSlice, } impl FfiError { pub fn into_internal(self) -> OperationError { todo!() } }