Skip to main content

ShouldNotBeUsed

Trait ShouldNotBeUsed 

Source
pub trait ShouldNotBeUsed: SealShouldNotBeUsed { }
Expand description

A trait implemented by types that we shouldn’t actually use as fields in a configuration.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl ShouldNotBeUsed for BTreeSet<Duration>

Source§

impl ShouldNotBeUsed for HashSet<Duration>

Source§

impl ShouldNotBeUsed for Option<Duration>

Source§

impl ShouldNotBeUsed for Option<Option<Duration>>

Source§

impl ShouldNotBeUsed for Vec<Duration>

Source§

impl<K> ShouldNotBeUsed for BTreeMap<K, Duration>

Source§

impl<K> ShouldNotBeUsed for HashMap<K, Duration>

Implementors§