Struct libmcaptcha::cache::hashcache::HashCache
source · pub struct HashCache { /* private fields */ }
Expand description
cache datastructure implementing Save
Trait Implementations§
source§impl Actor for HashCache
impl Actor for HashCache
source§fn started(&mut self, ctx: &mut Self::Context)
fn started(&mut self, ctx: &mut Self::Context)
Called when an actor gets polled the first time.
source§fn stopping(&mut self, ctx: &mut Self::Context) -> Running
fn stopping(&mut self, ctx: &mut Self::Context) -> Running
Called after an actor is in
Actor::Stopping
state. Read moresource§fn start_default() -> Addr<Self>
fn start_default() -> Addr<Self>
Construct and start a new asynchronous actor, returning its
address. Read more
source§fn start_in_arbiter<F>(wrk: &ArbiterHandle, f: F) -> Addr<Self>
fn start_in_arbiter<F>(wrk: &ArbiterHandle, f: F) -> Addr<Self>
Start new actor in arbiter’s thread.
source§impl Handler<CacheResult> for HashCache
impl Handler<CacheResult> for HashCache
cache PoW result
§type Result = MessageResult<CacheResult>
type Result = MessageResult<CacheResult>
The type of value that this handler will return. Read more
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§impl Handler<RetrivePoW> for HashCache
impl Handler<RetrivePoW> for HashCache
Retrive PoW difficulty_factor for a PoW string
§type Result = MessageResult<RetrivePoW>
type Result = MessageResult<RetrivePoW>
The type of value that this handler will return. Read more
source§impl Handler<VerifyCaptchaResult> for HashCache
impl Handler<VerifyCaptchaResult> for HashCache
Retrive PoW difficulty_factor for a PoW string
§type Result = MessageResult<VerifyCaptchaResult>
type Result = MessageResult<VerifyCaptchaResult>
The type of value that this handler will return. Read more
impl Save for HashCache
Auto Trait Implementations§
impl RefUnwindSafe for HashCache
impl Send for HashCache
impl Sync for HashCache
impl Unpin for HashCache
impl UnwindSafe for HashCache
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