Struct maud::PreEscaped [−][src]
Expand description
A wrapper that renders the inner value without escaping.
Tuple Fields
0: T
Implementations
Converts the inner value to a string.
Trait Implementations
Performs the conversion.
Performs the conversion.
type Error = Error
type Error = Error
The associated error which can be returned.
Convert itself to AsyncResult
or Error
.
Override a status code for a Responder. Read more
fn with_header<K, V>(self, key: K, value: V) -> CustomResponder<Self> where
V: IntoHeaderValue,
HeaderName: TryFrom<K>,
<HeaderName as TryFrom<K>>::Error: Into<Error>,
fn with_header<K, V>(self, key: K, value: V) -> CustomResponder<Self> where
V: IntoHeaderValue,
HeaderName: TryFrom<K>,
<HeaderName as TryFrom<K>>::Error: Into<Error>,
Add header to the Responder’s response. Read more
Auto Trait Implementations
impl<T> RefUnwindSafe for PreEscaped<T> where
T: RefUnwindSafe,
impl<T> Send for PreEscaped<T> where
T: Send,
impl<T> Sync for PreEscaped<T> where
T: Sync,
impl<T> Unpin for PreEscaped<T> where
T: Unpin,
impl<T> UnwindSafe for PreEscaped<T> where
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn into_collection<A>(self) -> SmallVec<A> where
A: Array<Item = T>,
pub fn into_collection<A>(self) -> SmallVec<A> where
A: Array<Item = T>,
Converts self
into a collection.
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more