Skip to main content

SecretValue

Trait SecretValue 

Source
pub trait SecretValue:
    Read
    + Default
    + Sized
    + Send
    + Sync
    + 'static { }
Expand description

A type that a secret value can be decoded into.

Currently implemented only for String. This trait is sealed.

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementations on Foreign Types§

Source§

impl SecretValue for String

Implementors§