forked from lavina/lavina
- change trait's signature
This commit is contained in:
parent
f2ccdee9d5
commit
a1c1b3dae6
|
@ -6,13 +6,6 @@ use tokio::io::AsyncWrite;
|
|||
|
||||
pub mod whois;
|
||||
|
||||
struct HandlerY<T: AsyncWrite + Unpin> {
|
||||
server_name: Str,
|
||||
client: Str,
|
||||
writer: T,
|
||||
storage: Storage,
|
||||
}
|
||||
|
||||
pub trait Handler {
|
||||
fn handle(
|
||||
&self,
|
||||
|
|
Loading…
Reference in New Issue