Struct libmcaptcha::master::embedded::counter::AddVisitor
source · pub struct AddVisitor;
Expand description
Message to increment the visitor count returns difficulty factor and lifetime
Trait Implementations§
source§impl Handler<AddVisitor> for Counter
impl Handler<AddVisitor> for Counter
§type Result = MessageResult<AddVisitor>
type Result = MessageResult<AddVisitor>
The type of value that this handler will return. Read more
source§fn handle(&mut self, _: AddVisitor, ctx: &mut Self::Context) -> Self::Result
fn handle(&mut self, _: AddVisitor, ctx: &mut Self::Context) -> Self::Result
This method is called for every message received by this actor.
source§impl Message for AddVisitor
impl Message for AddVisitor
§type Result = AddVisitorResult
type Result = AddVisitorResult
The type of value that this message will resolved with if it is
successful.
Auto Trait Implementations§
impl RefUnwindSafe for AddVisitor
impl Send for AddVisitor
impl Sync for AddVisitor
impl Unpin for AddVisitor
impl UnwindSafe for AddVisitor
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