Move the EventHandler from the client to the proc macro
This commit is contained in:
parent
789455668c
commit
21efb88331
2 changed files with 3 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
|||
use env_logger::{Builder, Env};
|
||||
use log::{debug, info};
|
||||
use opensmtpd::{event, handlers, Entry, EventHandler, SmtpIn};
|
||||
use opensmtpd::{event, handlers, Entry, SmtpIn};
|
||||
|
||||
#[event(Any)]
|
||||
fn on_event(entry: &Entry) -> bool {
|
||||
|
|
Reference in a new issue