Lines Matching defs:Error
51 pub struct Error { struct
54 cause: Option<anyhow::Error>, argument
59 impl std::error::Error for Error { argument
73 impl Display for Error { implementation
89 impl From<String> for Error { implementation
102 impl From<&'static str> for Error { implementation
115 impl From<anyhow::Error> for Error { implementation
128 impl Error { impl
171 errp: *mut *mut bindings::Error, in ptr_or_propagate()
190 errp: *mut *mut bindings::Error, in ok_or_propagate()
212 pub unsafe fn propagate(self, errp: *mut *mut bindings::Error) { in propagate()
245 c_error: *mut bindings::Error, in err_or_else()
257 impl FreeForeign for Error { implementation
260 unsafe fn free_foreign(p: *mut bindings::Error) { in free_foreign()
268 impl CloneToForeign for Error { implementation
288 impl FromForeign for Error { implementation
325 fn error_for_test(msg: &CStr) -> OwnedPointer<Error> { in error_for_test()