pub trait SettingsContext<T> {
// Required method
fn settings(&self) -> impl Deref<Target = T> + '_;
}
Expand description
Abstracts access to stack settings.
This trait is implemented by bindings to allow core access to runtime-configurable behavior for the network stack.
Separate modules declare their own T
for settings structures that can be
retrieved via this trait.
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.