pub struct LocalHandlerTypes {}Expand description
Handler type for non-Sendable HtmlRewriters.
Trait Implementations§
Source§impl HandlerTypes for LocalHandlerTypes
impl HandlerTypes for LocalHandlerTypes
Source§type DoctypeHandler<'h> = Box<dyn FnMut(&mut Doctype<'_>) -> Result<(), Box<dyn Error + Sync + Send>> + 'h>
type DoctypeHandler<'h> = Box<dyn FnMut(&mut Doctype<'_>) -> Result<(), Box<dyn Error + Sync + Send>> + 'h>
Handler type for
Doctype.Source§type CommentHandler<'h> = Box<dyn FnMut(&mut Comment<'_>) -> Result<(), Box<dyn Error + Sync + Send>> + 'h>
type CommentHandler<'h> = Box<dyn FnMut(&mut Comment<'_>) -> Result<(), Box<dyn Error + Sync + Send>> + 'h>
Source§type TextHandler<'h> = Box<dyn FnMut(&mut TextChunk<'_>) -> Result<(), Box<dyn Error + Sync + Send>> + 'h>
type TextHandler<'h> = Box<dyn FnMut(&mut TextChunk<'_>) -> Result<(), Box<dyn Error + Sync + Send>> + 'h>
Source§type ElementHandler<'h> = Box<dyn FnMut(&mut Element<'_, '_>) -> Result<(), Box<dyn Error + Sync + Send>> + 'h>
type ElementHandler<'h> = Box<dyn FnMut(&mut Element<'_, '_>) -> Result<(), Box<dyn Error + Sync + Send>> + 'h>
Handler type for
Element.Source§type EndTagHandler<'h> = Box<dyn FnOnce(&mut EndTag<'_>) -> Result<(), Box<dyn Error + Sync + Send>> + 'h>
type EndTagHandler<'h> = Box<dyn FnOnce(&mut EndTag<'_>) -> Result<(), Box<dyn Error + Sync + Send>> + 'h>
Handler type for
EndTag.Source§type EndHandler<'h> = Box<dyn FnOnce(&mut DocumentEnd<'_>) -> Result<(), Box<dyn Error + Sync + Send>> + 'h>
type EndHandler<'h> = Box<dyn FnOnce(&mut DocumentEnd<'_>) -> Result<(), Box<dyn Error + Sync + Send>> + 'h>
Handler type for
DocumentEnd.Auto Trait Implementations§
impl Freeze for LocalHandlerTypes
impl RefUnwindSafe for LocalHandlerTypes
impl Send for LocalHandlerTypes
impl Sync for LocalHandlerTypes
impl Unpin for LocalHandlerTypes
impl UnwindSafe for LocalHandlerTypes
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