Trait AskamaContext

Source
pub trait AskamaContext
where 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§

Source

fn new_with_defaults() -> ServerResult<Self>

Source

fn new_with_extensions(_extensions: &Extensions) -> ServerResult<Self>

Source

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", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl AskamaContext for ()

Source§

fn new_with_defaults() -> ServerResult<()>

Source§

fn new_with_deserialization( _encoding: &str, _data: &[u8], _extensions: &Extensions, ) -> ServerResult<Self>

Implementors§