Enum actix_storage::dev::actor::ExpiryStoreRequest
source · pub enum ExpiryStoreRequest {
SetExpiring(Arc<[u8]>, Arc<[u8]>, Arc<[u8]>, Duration),
GetExpiring(Arc<[u8]>, Arc<[u8]>),
}
Expand description
Actix message for ExpiryStore
requests
Every store methods are mirrored to an enum variant of the same name, and should
result in its corresponding variant in ExpiryStoreResponse
.
ExpiryStore
is automatically implemented for actors handling
this message.
Variants§
Trait Implementations§
source§impl Debug for ExpiryStoreRequest
impl Debug for ExpiryStoreRequest
source§impl Message for ExpiryStoreRequest
impl Message for ExpiryStoreRequest
§type Result = ExpiryStoreResponse
type Result = ExpiryStoreResponse
The type of value that this message will resolved with if it is
successful.