rocket_db_pools::figment::value::magic

Trait Magic

Source
pub trait Magic: for<'de> Deserialize<'de> { }
Expand description

Marker trait for “magic” values. Primarily for use with Either.

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 Magic for RelativePathBuf

Source§

impl<T> Magic for Tagged<T>
where T: for<'de> Deserialize<'de>,