pub struct Hooks { /* private fields */ }Implementations§
Source§impl Hooks
impl Hooks
pub fn from_sources( sources: impl IntoIterator<Item = HookRegistrySource>, ) -> Self
pub fn from_registered( hooks: impl IntoIterator<Item = RegisteredHook>, ) -> Result<Self>
pub fn prepare(&self, request: HookDispatchRequest) -> PreparedHookDispatch
pub fn prepare_many<'a>( hook_sets: impl IntoIterator<Item = &'a Hooks>, request: HookDispatchRequest, ) -> PreparedHookDispatch
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Hooks
impl !RefUnwindSafe for Hooks
impl Send for Hooks
impl Sync for Hooks
impl Unpin for Hooks
impl UnsafeUnpin for Hooks
impl !UnwindSafe for Hooks
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