Export result-helper here

This commit is contained in:
Matthias Beyer 2016-09-06 14:06:36 +02:00
parent a6377f322e
commit af4a0bfaf2

View file

@ -8,6 +8,8 @@ generate_custom_error_types!(HookError, HookErrorKind, CustomData,
MutableHooksNotAllowed => "Mutable Hooks are denied" MutableHooksNotAllowed => "Mutable Hooks are denied"
); );
generate_result_helper!(HookError, HookErrorKind);
#[derive(Debug, Clone, Eq, PartialEq, Ord, PartialOrd, Copy)] #[derive(Debug, Clone, Eq, PartialEq, Ord, PartialOrd, Copy)]
pub struct CustomData { pub struct CustomData {
aborting: bool, aborting: bool,