[−][src]Struct m_captcha::cache::hashcache::HashCache
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>(wrk: &ArbiterHandle, 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<Cache> for HashCache
[src]
cache a PoWConfig
type Result = MessageResult<Cache>
The type of value that this handler will return. Read more
fn handle(&mut self, msg: Cache, ctx: &mut Self::Context) -> Self::Result
[src]
impl Handler<DeleteString> for HashCache
[src]
Delte a PoWConfig
type Result = MessageResult<DeleteString>
The type of value that this handler will return. Read more
fn handle(
&mut self,
msg: DeleteString,
_ctx: &mut Self::Context
) -> Self::Result
[src]
&mut self,
msg: DeleteString,
_ctx: &mut Self::Context
) -> Self::Result
impl Handler<Retrive> for HashCache
[src]
Retrive PoW difficulty_factor for a PoW string
type Result = MessageResult<Retrive>
The type of value that this handler will return. Read more
fn handle(&mut self, msg: Retrive, _ctx: &mut Self::Context) -> Self::Result
[src]
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>,