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
Source§type Result = ExpiryStoreResponse
type Result = ExpiryStoreResponse
The type of value that this message will resolved with if it is
successful.
Source§impl<A: Actor> MessageResponse<A, ExpiryStoreRequest> for ExpiryStoreResponse
impl<A: Actor> MessageResponse<A, ExpiryStoreRequest> for ExpiryStoreResponse
fn handle( self, _ctx: &mut <A as Actor>::Context, tx: Option<OneshotSender<<ExpiryStoreRequest as Message>::Result>>, )
Auto Trait Implementations§
impl Freeze for ExpiryStoreRequest
impl RefUnwindSafe for ExpiryStoreRequest
impl Send for ExpiryStoreRequest
impl Sync for ExpiryStoreRequest
impl Unpin for ExpiryStoreRequest
impl UnwindSafe for ExpiryStoreRequest
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more