diff options
author | Neal H. Walfield <neal@pep.foundation> | 2018-11-22 11:17:34 +0100 |
---|---|---|
committer | Neal H. Walfield <neal@pep.foundation> | 2018-11-22 11:18:01 +0100 |
commit | 6cd2428c93f45b04b4ccad345970ab56a56a8eeb (patch) | |
tree | 4274831380c299f4b7cc5fe4ad947215f66a55b6 /ffi/src/error.rs | |
parent | b38f5031373dd32ac4212a510283b724d8fa27b4 (diff) |
ffi: Derive PartialEq and Debug for Status.
Diffstat (limited to 'ffi/src/error.rs')
-rw-r--r-- | ffi/src/error.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ffi/src/error.rs b/ffi/src/error.rs index dbd3a358..9d4b9388 100644 --- a/ffi/src/error.rs +++ b/ffi/src/error.rs @@ -38,6 +38,7 @@ pub extern "system" fn sq_error_status(error: Option<&failure::Error>) } /// XXX: Reorder and name-space before release. +#[derive(PartialEq, Debug)] #[repr(C)] pub enum Status { /// The operation was successful. |