mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-06-28 17:21:34 +00:00
Apply suggestions from code review
Co-Authored-By: Max Inden <mail@max-inden.de>
This commit is contained in:
@ -168,8 +168,6 @@ pub trait ProtocolsHandler {
|
||||
fn connection_keep_alive(&self) -> KeepAlive;
|
||||
|
||||
/// Should behave like `Stream::poll()`.
|
||||
///
|
||||
/// Returning an error will close the connection to the remote.
|
||||
fn poll(&mut self, cx: &mut Context) -> Poll<
|
||||
ProtocolsHandlerEvent<Self::OutboundProtocol, Self::OutboundOpenInfo, Self::OutEvent, Self::Error>
|
||||
>;
|
||||
|
Reference in New Issue
Block a user