Add HookPosition enum

This commit is contained in:
Matthias Beyer 2016-03-04 20:30:12 +01:00
parent 37a505609e
commit d6a581e69f
2 changed files with 14 additions and 0 deletions

View file

@ -8,6 +8,7 @@ use store::FileLockEntry;
pub mod accessor;
pub mod aspect;
pub mod error;
pub mod position;
pub mod result;
use hook::accessor::HookDataAccessorProvider;

View file

@ -0,0 +1,13 @@
#[derive(Debug)]
pub enum HookPosition {
PreRead,
PostRead,
PreCreate,
PostCreate,
PreRetrieve,
PostRetrieve,
PreUpdate,
PostUpdate,
PreDelete,
PostDelete,
}