mirror of
https://github.com/lightningdevkit/rust-lightning.git
synced 2025-02-24 23:08:36 +01:00
Fix documentation on PeerHandleError
This commit is contained in:
parent
d3f61c0ad7
commit
bd8382a4d3
1 changed files with 2 additions and 4 deletions
|
@ -88,10 +88,8 @@ pub trait SocketDescriptor : cmp::Eq + hash::Hash + Clone {
|
|||
}
|
||||
|
||||
/// Error for PeerManager errors. If you get one of these, you must disconnect the socket and
|
||||
/// generate no further read_event/write_buffer_space_avail calls for the descriptor, only
|
||||
/// triggering a single socket_disconnected call (unless it was provided in response to a
|
||||
/// new_*_connection event, in which case no such socket_disconnected() must be called and the
|
||||
/// socket silently disconencted).
|
||||
/// generate no further read_event/write_buffer_space_avail/socket_disconnected calls for the
|
||||
/// descriptor.
|
||||
pub struct PeerHandleError {
|
||||
/// Used to indicate that we probably can't make any future connections to this peer, implying
|
||||
/// we should go ahead and force-close any channels we have with it.
|
||||
|
|
Loading…
Add table
Reference in a new issue