pub trait AskamaContextwhere
Self: Sized,{
// Provided methods
fn new_with_defaults() -> ServerResult<Self> { ... }
fn new_with_extensions(_extensions: &Extensions) -> ServerResult<Self> { ... }
fn new_with_deserialization(
_encoding: &str,
_data: &[u8],
_extensions: &Extensions,
) -> ServerResult<Self> { ... }
}Provided Methods§
fn new_with_defaults() -> ServerResult<Self>
fn new_with_extensions(_extensions: &Extensions) -> ServerResult<Self>
fn new_with_deserialization( _encoding: &str, _data: &[u8], _extensions: &Extensions, ) -> ServerResult<Self>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementations on Foreign Types§
Source§impl AskamaContext for ()
impl AskamaContext for ()
fn new_with_defaults() -> ServerResult<()>
fn new_with_deserialization( _encoding: &str, _data: &[u8], _extensions: &Extensions, ) -> ServerResult<Self>
Implementors§
impl<S: AskamaContextSerde> AskamaContext for S
Available on crate feature
runtime-askama-serde only.