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;
|
pub mod whois;
|
||||||
|
|
||||||
struct HandlerY<T: AsyncWrite + Unpin> {
|
|
||||||
server_name: Str,
|
|
||||||
client: Str,
|
|
||||||
writer: T,
|
|
||||||
storage: Storage,
|
|
||||||
}
|
|
||||||
|
|
||||||
pub trait Handler {
|
pub trait Handler {
|
||||||
fn handle(
|
fn handle(
|
||||||
&self,
|
&self,
|
||||||
|
|
Loading…
Reference in New Issue