pub trait AppSettings {
    // Required methods
    fn new(net: NetSettings) -> Self;
    fn net(&self) -> &NetSettings;
}

Required Methods§

source

fn new(net: NetSettings) -> Self

Construct the settings given known network settings.

source

fn net(&self) -> &NetSettings

Get the network settings from the application settings.

Object Safety§

This trait is not object safe.

Implementors§