pub struct NoopTriggerHandler;Expand description
No-op trigger handler: accepts all dispatches without taking action.
Used before the F5 trigger family implementations are wired up. Also useful as a test stub when only the audit trail is being verified.
Trait Implementations§
Source§impl TriggerHandler for NoopTriggerHandler
impl TriggerHandler for NoopTriggerHandler
fn handle(&self, _ctx: &DispatchContext) -> Result<(), DispatchError>
Auto Trait Implementations§
impl Freeze for NoopTriggerHandler
impl RefUnwindSafe for NoopTriggerHandler
impl Send for NoopTriggerHandler
impl Sync for NoopTriggerHandler
impl Unpin for NoopTriggerHandler
impl UnsafeUnpin for NoopTriggerHandler
impl UnwindSafe for NoopTriggerHandler
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