pub struct PreparedHookDispatch { /* private fields */ }Expand description
Hook dispatch plan before handlers have executed.
Implementations§
Source§impl PreparedHookDispatch
impl PreparedHookDispatch
Sourcepub fn request(&self) -> &HookDispatchRequest
pub fn request(&self) -> &HookDispatchRequest
Original dispatch request.
Sourcepub fn preview_runs(&self) -> &[HookRunSummary]
pub fn preview_runs(&self) -> &[HookRunSummary]
Synthetic running summaries emitted before handlers complete.
Sourcepub fn matched_handlers(&self) -> &[ConfiguredHandler]
pub fn matched_handlers(&self) -> &[ConfiguredHandler]
Handlers that matched the request, ordered by priority.
Trait Implementations§
Source§impl Clone for PreparedHookDispatch
impl Clone for PreparedHookDispatch
Source§fn clone(&self) -> PreparedHookDispatch
fn clone(&self) -> PreparedHookDispatch
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for PreparedHookDispatch
impl !UnwindSafe for PreparedHookDispatch
impl Freeze for PreparedHookDispatch
impl Send for PreparedHookDispatch
impl Sync for PreparedHookDispatch
impl Unpin for PreparedHookDispatch
impl UnsafeUnpin for PreparedHookDispatch
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