pub struct AgentDispatcher<'a, H: Hook> {
pub hook: &'a H,
pub agent: &'a str,
}Expand description
Thin wrapper that implements wcore’s Dispatcher by forwarding to Hook.
Fields§
§hook: &'a HThe hook backend.
agent: &'a strThe agent name for scoped dispatch.
Trait Implementations§
Source§impl<H: Hook> Dispatcher for AgentDispatcher<'_, H>
impl<H: Hook> Dispatcher for AgentDispatcher<'_, H>
Auto Trait Implementations§
impl<'a, H> Freeze for AgentDispatcher<'a, H>
impl<'a, H> RefUnwindSafe for AgentDispatcher<'a, H>where
H: RefUnwindSafe,
impl<'a, H> Send for AgentDispatcher<'a, H>
impl<'a, H> Sync for AgentDispatcher<'a, H>
impl<'a, H> Unpin for AgentDispatcher<'a, H>
impl<'a, H> UnsafeUnpin for AgentDispatcher<'a, H>
impl<'a, H> UnwindSafe for AgentDispatcher<'a, H>where
H: RefUnwindSafe,
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