#[repr(C)]pub enum ExecType {
Ignore = 0,
Single = 1,
Event = 2,
Hook = 3,
LowEvent = 4,
}
Expand description
Defines how a forward iterates through plugin functions.
Variants§
Ignore = 0
Ignore all return values, return 0
Single = 1
Only return the last exec, ignore all others
Event = 2
Acts as an event with the ResultTypes above, no mid-Stops allowed, returns highest
Hook = 3
Acts as a hook with the ResultTypes above, mid-Stops allowed, returns highest
LowEvent = 4
Same as Event except that it returns the lowest value
Auto Trait Implementations§
impl Freeze for ExecType
impl RefUnwindSafe for ExecType
impl Send for ExecType
impl Sync for ExecType
impl Unpin for ExecType
impl UnwindSafe for ExecType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more