gleamunison/active_storage
Access to the one storage backend opened by this node.
Types
pub type StorageBackend {
Ets(BitArray)
Dets(BitArray)
PartitionedDets(BitArray)
Mnesia(BitArray)
}
Constructors
-
Ets(BitArray) -
Dets(BitArray) -
PartitionedDets(BitArray) -
Mnesia(BitArray)
Values
pub fn active_or_open() -> Result(storage.StorageAdapter, String)
Reuse the active backend; absent active storage, resolve the configured default exactly as the HTTP server does. Shared backends are not closed here.