Skip to main content

AtomicStorageBase

Trait AtomicStorageBase 

Source
pub trait AtomicStorageBase: Sized {
    type Underlying: Copy + PartialEq + Into<Self>;
}
Expand description

An abstraction to deal with the constness of AtomicStorage

Required Associated Types§

Source

type Underlying: Copy + PartialEq + Into<Self>

The underlying non-atomic type. Typically this should have the same in-memory representation as Self.

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§