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