Skip to main content

GetServerConfig

Trait GetServerConfig 

Source
pub trait GetServerConfig {
    type Extra;

    // Required method
    fn server_config(config: &Config) -> &ServerConfig<Self::Extra>;
}
Expand description

Used to implement the server_config method on crate::servers::<SERVER>::Details.

Required Associated Types§

Required Methods§

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.

Implementors§

Source§

impl GetServerConfig for pubhubs::servers::auths::server::Details

Source§

impl GetServerConfig for pubhubs::servers::phc::server::Details

Source§

impl GetServerConfig for pubhubs::servers::transcryptor::server::Details