pub enum HookPhase {
BeforeExecution,
BeforeStep,
AfterStep,
AfterExecution,
OnError,
BeforeFit,
AfterFit,
BeforePredict,
AfterPredict,
BeforeTransform,
AfterTransform,
}Expand description
Hook execution phase
Variants§
BeforeExecution
Before pipeline execution starts
BeforeStep
Before each step in the pipeline
AfterStep
After each step in the pipeline
AfterExecution
After pipeline execution completes
OnError
When an error occurs during execution
BeforeFit
Before fitting the pipeline
AfterFit
After fitting the pipeline
BeforePredict
Before prediction
AfterPredict
After prediction
BeforeTransform
Before transformation
AfterTransform
After transformation
Trait Implementations§
impl Copy for HookPhase
impl Eq for HookPhase
impl StructuralPartialEq for HookPhase
Auto Trait Implementations§
impl Freeze for HookPhase
impl RefUnwindSafe for HookPhase
impl Send for HookPhase
impl Sync for HookPhase
impl Unpin for HookPhase
impl UnwindSafe for HookPhase
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more