Struct askama::filters::AutoEscaper
source · pub struct AutoEscaper<'a, T: ?Sized, E> { /* private fields */ }Expand description
Used internally by askama to select the appropriate escaper
Implementations§
Trait Implementations§
source§impl<'a, T: Display, E: Escaper> AutoEscape for &AutoEscaper<'a, &&&MaybeSafe<T>, E>
impl<'a, T: Display, E: Escaper> AutoEscape for &AutoEscaper<'a, &&&MaybeSafe<T>, E>
source§type Error = Infallible
type Error = Infallible
Early error testing for the input value, usually
Infalliblesource§impl<'a, T: Display, E> AutoEscape for &AutoEscaper<'a, &&&Safe<T>, E>
impl<'a, T: Display, E> AutoEscape for &AutoEscaper<'a, &&&Safe<T>, E>
source§type Error = Infallible
type Error = Infallible
Early error testing for the input value, usually
Infalliblesource§impl<'a, T: Display, E: Escaper> AutoEscape for &AutoEscaper<'a, &&MaybeSafe<T>, E>
impl<'a, T: Display, E: Escaper> AutoEscape for &AutoEscaper<'a, &&MaybeSafe<T>, E>
source§type Error = Infallible
type Error = Infallible
Early error testing for the input value, usually
Infalliblesource§impl<'a, T: Display, E> AutoEscape for &AutoEscaper<'a, &&Safe<T>, E>
impl<'a, T: Display, E> AutoEscape for &AutoEscaper<'a, &&Safe<T>, E>
source§type Error = Infallible
type Error = Infallible
Early error testing for the input value, usually
Infalliblesource§impl<'a, T: Display, E: Escaper> AutoEscape for &AutoEscaper<'a, &MaybeSafe<T>, E>
impl<'a, T: Display, E: Escaper> AutoEscape for &AutoEscaper<'a, &MaybeSafe<T>, E>
source§type Error = Infallible
type Error = Infallible
Early error testing for the input value, usually
Infalliblesource§impl<'a, T: Display, E> AutoEscape for &AutoEscaper<'a, &Safe<T>, E>
impl<'a, T: Display, E> AutoEscape for &AutoEscaper<'a, &Safe<T>, E>
source§type Error = Infallible
type Error = Infallible
Early error testing for the input value, usually
Infalliblesource§impl<'a, T: Display, E: Escaper> AutoEscape for &AutoEscaper<'a, MaybeSafe<T>, E>
impl<'a, T: Display, E: Escaper> AutoEscape for &AutoEscaper<'a, MaybeSafe<T>, E>
source§type Error = Infallible
type Error = Infallible
Early error testing for the input value, usually
Infalliblesource§impl<'a, T: Display, E> AutoEscape for &AutoEscaper<'a, Safe<T>, E>
impl<'a, T: Display, E> AutoEscape for &AutoEscaper<'a, Safe<T>, E>
source§type Error = Infallible
type Error = Infallible
Early error testing for the input value, usually
Infalliblesource§impl<'a, T: HtmlSafe + ?Sized> AutoEscape for &AutoEscaper<'a, T, Html>
impl<'a, T: HtmlSafe + ?Sized> AutoEscape for &AutoEscaper<'a, T, Html>
Don’t escape HTML safe types
source§type Error = Infallible
type Error = Infallible
Early error testing for the input value, usually
InfallibleAuto Trait Implementations§
impl<'a, T, E> Freeze for AutoEscaper<'a, T, E>
impl<'a, T, E> RefUnwindSafe for AutoEscaper<'a, T, E>
impl<'a, T, E> Send for AutoEscaper<'a, T, E>
impl<'a, T, E> Sync for AutoEscaper<'a, T, E>
impl<'a, T, E> Unpin for AutoEscaper<'a, T, E>
impl<'a, T, E> UnwindSafe for AutoEscaper<'a, T, E>
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)