Remove HostTrait altogether (#8681)

This commit is contained in:
Pierre Krieger
2018-06-02 11:05:11 +02:00
committed by Marek Kotewicz
parent 2060ea5de3
commit 3d76417353
9 changed files with 13 additions and 26 deletions

View File

@@ -70,7 +70,7 @@ impl TestProtocol {
}
impl NetworkProtocolHandler for TestProtocol {
fn initialize(&self, io: &NetworkContext, _host_info: &HostInfo) {
fn initialize(&self, io: &NetworkContext) {
io.register_timer(0, Duration::from_millis(10)).unwrap();
}