Enum mcaptcha::data::SystemGroup [−][src]
pub enum SystemGroup {
Embedded(System<HashCache, EmbeddedMaster>),
Redis(System<RedisCache, RedisMaster>),
}
Expand description
Represents mCaptcha cache and master system. When Redis is configured, SystemGroup::Redis is used and in its absense, SystemGroup::Embedded is used
Variants
Implementations
pub async fn validate_verification_tokens(
&self,
msg: VerifyCaptchaResult
) -> CaptchaResult<bool>
Auto Trait Implementations
impl !RefUnwindSafe for SystemGroup
impl Send for SystemGroup
impl Sync for SystemGroup
impl Unpin for SystemGroup
impl !UnwindSafe for SystemGroup
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more