Struct m_captcha::cache::hashcache::HashCache [−][src]
cache datastructure implementing Save
Trait Implementations
impl Actor for HashCache
[src]
type Context = Context<Self>
Actor execution context type
pub fn started(&mut self, ctx: &mut Self::Context)
pub fn stopping(&mut self, ctx: &mut Self::Context) -> Running
pub fn stopped(&mut self, ctx: &mut Self::Context)
pub fn start(self) -> Addr<Self> where
Self: Actor<Context = Context<Self>>,
Self: Actor<Context = Context<Self>>,
pub fn start_default() -> Addr<Self> where
Self: Actor<Context = Context<Self>> + Default,
Self: Actor<Context = Context<Self>> + Default,
pub fn start_in_arbiter<F>(arb: &Arbiter, f: F) -> Addr<Self> where
Self: Actor<Context = Context<Self>>,
F: FnOnce(&mut Context<Self>) -> Self + Send + 'static,
Self: Actor<Context = Context<Self>>,
F: FnOnce(&mut Context<Self>) -> Self + Send + 'static,
pub fn create<F>(f: F) -> Addr<Self> where
Self: Actor<Context = Context<Self>>,
F: FnOnce(&mut Context<Self>) -> Self,
Self: Actor<Context = Context<Self>>,
F: FnOnce(&mut Context<Self>) -> Self,
impl Clone for HashCache
[src]
impl Default for HashCache
[src]
impl Handler<CachePoW> for HashCache
[src]
cache a PoWConfig
type Result = MessageResult<CachePoW>
The type of value that this handler will return. Read more
fn handle(&mut self, msg: CachePoW, ctx: &mut Self::Context) -> Self::Result
[src]
impl Handler<CacheResult> for HashCache
[src]
cache PoW result
type Result = MessageResult<CacheResult>
The type of value that this handler will return. Read more
fn handle(&mut self, msg: CacheResult, ctx: &mut Self::Context) -> Self::Result
[src]
impl Handler<DeleteCaptchaResult> for HashCache
[src]
Delte a PoWConfig
type Result = MessageResult<DeleteCaptchaResult>
The type of value that this handler will return. Read more
fn handle(
&mut self,
msg: DeleteCaptchaResult,
_ctx: &mut Self::Context
) -> Self::Result
[src]
&mut self,
msg: DeleteCaptchaResult,
_ctx: &mut Self::Context
) -> Self::Result
impl Handler<DeletePoW> for HashCache
[src]
Delte a PoWConfig
type Result = MessageResult<DeletePoW>
The type of value that this handler will return. Read more
fn handle(&mut self, msg: DeletePoW, _ctx: &mut Self::Context) -> Self::Result
[src]
impl Handler<RetrivePoW> for HashCache
[src]
Retrive PoW difficulty_factor for a PoW string
type Result = MessageResult<RetrivePoW>
The type of value that this handler will return. Read more
fn handle(&mut self, msg: RetrivePoW, _ctx: &mut Self::Context) -> Self::Result
[src]
impl Handler<VerifyCaptchaResult> for HashCache
[src]
Retrive PoW difficulty_factor for a PoW string
type Result = MessageResult<VerifyCaptchaResult>
The type of value that this handler will return. Read more
fn handle(
&mut self,
msg: VerifyCaptchaResult,
_ctx: &mut Self::Context
) -> Self::Result
[src]
&mut self,
msg: VerifyCaptchaResult,
_ctx: &mut Self::Context
) -> Self::Result
impl Save for HashCache
[src]
Auto Trait Implementations
impl RefUnwindSafe for HashCache
[src]
impl Send for HashCache
[src]
impl Sync for HashCache
[src]
impl Unpin for HashCache
[src]
impl UnwindSafe for HashCache
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,