Add HookPosition enum
This commit is contained in:
parent
37a505609e
commit
d6a581e69f
2 changed files with 14 additions and 0 deletions
|
@ -8,6 +8,7 @@ use store::FileLockEntry;
|
||||||
pub mod accessor;
|
pub mod accessor;
|
||||||
pub mod aspect;
|
pub mod aspect;
|
||||||
pub mod error;
|
pub mod error;
|
||||||
|
pub mod position;
|
||||||
pub mod result;
|
pub mod result;
|
||||||
|
|
||||||
use hook::accessor::HookDataAccessorProvider;
|
use hook::accessor::HookDataAccessorProvider;
|
||||||
|
|
13
libimagstore/src/hook/position.rs
Normal file
13
libimagstore/src/hook/position.rs
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
#[derive(Debug)]
|
||||||
|
pub enum HookPosition {
|
||||||
|
PreRead,
|
||||||
|
PostRead,
|
||||||
|
PreCreate,
|
||||||
|
PostCreate,
|
||||||
|
PreRetrieve,
|
||||||
|
PostRetrieve,
|
||||||
|
PreUpdate,
|
||||||
|
PostUpdate,
|
||||||
|
PreDelete,
|
||||||
|
PostDelete,
|
||||||
|
}
|
Loading…
Reference in a new issue