Skip to main content

EncryptedStorage

Trait EncryptedStorage 

Source
pub trait EncryptedStorage: Storage + Sealed { }
Expand description

Marker trait for Storage backends that encrypt data at rest.

Sealed — only implementable inside scp-platform. External crates can require this bound but cannot implement it. Wrap custom backends in EncryptingAdapter to satisfy the bound.

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.

Implementations on Foreign Types§

Source§

impl<T: EncryptedStorage> EncryptedStorage for Arc<T>

Implementors§