[][src]Module actix_storage_sled::actor

An implementation of ExpiryStore based on actix and sled, requires ["actor"] feature

Structs

ExpiryFlags

Represents expiry data and is stored as suffix to the value

SledActor

An implementation of ExpiryStore based on sync actix actors and sled, using delay_queue crate to provide expiration

Traits

ToActorExt

An extension actor for sled::Config to convert it to a SledActor

Functions

decode

Takes an IVec and returns value bytes with its expiry flags

decode_mut

Takes an IVec and returns value bytes with its expiry flags as mutable

encode

Takes a value as bytes and an ExpiryFlags and turns them into bytes