pub struct EventHandlerStack { /* private fields */ }Expand description
Implementation that handles EventHandlers for RequestHeaders and ResponseHeaders.
Trait Implementations§
Source§impl Default for EventHandlerStack
impl Default for EventHandlerStack
Source§fn default() -> EventHandlerStack
fn default() -> EventHandlerStack
Returns the “default value” for a type. Read more
Source§impl EventHandlerPush<RequestHeaders> for EventHandlerStack
impl EventHandlerPush<RequestHeaders> for EventHandlerStack
Source§fn push<H>(&mut self, handler: H)where
H: EventHandler<RequestHeaders> + 'static,
fn push<H>(&mut self, handler: H)where
H: EventHandler<RequestHeaders> + 'static,
Add a handle to the collection.
Source§impl EventHandlerPush<ResponseHeaders> for EventHandlerStack
impl EventHandlerPush<ResponseHeaders> for EventHandlerStack
Source§fn push<H>(&mut self, handler: H)where
H: EventHandler<ResponseHeaders> + 'static,
fn push<H>(&mut self, handler: H)where
H: EventHandler<ResponseHeaders> + 'static,
Add a handle to the collection.
Auto Trait Implementations§
impl Freeze for EventHandlerStack
impl !RefUnwindSafe for EventHandlerStack
impl !Send for EventHandlerStack
impl !Sync for EventHandlerStack
impl Unpin for EventHandlerStack
impl !UnwindSafe for EventHandlerStack
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