Struct lightning::ln::peer_handler::PeerHandleError [−][src]
pub struct PeerHandleError {
pub no_connection_possible: bool,
}
Expand description
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/socket_disconnected calls for the descriptor.
Fields
no_connection_possible: bool
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.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for PeerHandleError
impl Send for PeerHandleError
impl Sync for PeerHandleError
impl Unpin for PeerHandleError
impl UnwindSafe for PeerHandleError
Blanket Implementations
Mutably borrows from an owned value. Read more