Remove HostTrait altogether (#8681)
This commit is contained in:
committed by
Marek Kotewicz
parent
2060ea5de3
commit
3d76417353
@@ -29,7 +29,7 @@
|
||||
//! struct MyHandler;
|
||||
//!
|
||||
//! impl NetworkProtocolHandler for MyHandler {
|
||||
//! fn initialize(&self, io: &NetworkContext, _host_info: &HostInfo) {
|
||||
//! fn initialize(&self, io: &NetworkContext) {
|
||||
//! io.register_timer(0, Duration::from_secs(1));
|
||||
//! }
|
||||
//!
|
||||
|
||||
Reference in New Issue
Block a user