Struct libmcaptcha::cache::messages::DeleteCaptchaResult
source · pub struct DeleteCaptchaResult {
pub token: String,
}
Expand description
Message to delete cached capthca result when it expires
Fields§
§token: String
Trait Implementations§
source§impl Handler<DeleteCaptchaResult> for HashCache
impl Handler<DeleteCaptchaResult> for HashCache
Delte a PoWConfig
§type Result = MessageResult<DeleteCaptchaResult>
type Result = MessageResult<DeleteCaptchaResult>
The type of value that this handler will return. Read more
source§fn handle(
&mut self,
msg: DeleteCaptchaResult,
_ctx: &mut Self::Context
) -> Self::Result
fn handle( &mut self, msg: DeleteCaptchaResult, _ctx: &mut Self::Context ) -> Self::Result
This method is called for every message received by this actor.
source§impl Handler<DeleteCaptchaResult> for RedisCache
impl Handler<DeleteCaptchaResult> for RedisCache
Delte a PoWConfig
§type Result = MessageResult<DeleteCaptchaResult>
type Result = MessageResult<DeleteCaptchaResult>
The type of value that this handler will return. Read more
source§fn handle(
&mut self,
_msg: DeleteCaptchaResult,
_ctx: &mut Self::Context
) -> Self::Result
fn handle( &mut self, _msg: DeleteCaptchaResult, _ctx: &mut Self::Context ) -> Self::Result
This method is called for every message received by this actor.
source§impl Message for DeleteCaptchaResult
impl Message for DeleteCaptchaResult
§type Result = Result<(), CaptchaError>
type Result = Result<(), CaptchaError>
The type of value that this message will resolved with if it is
successful.
Auto Trait Implementations§
impl RefUnwindSafe for DeleteCaptchaResult
impl Send for DeleteCaptchaResult
impl Sync for DeleteCaptchaResult
impl Unpin for DeleteCaptchaResult
impl UnwindSafe for DeleteCaptchaResult
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