forked from libp2p/rust-libp2p
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add error messages for interrupt (libp2p#704)
* Add error messages for interrupt * Change to use enum InterruptErr * Add a clarification for Connected variant. * Grammar fix * CollectionStream.interrupt() -> interrupt() * Implement suggestions * Fix: Error and Display as traits * Update used variants * Update core/src/nodes/collection.rs Co-Authored-By: jamesray1 <16969914+jamesray1@users.noreply.github.com> * Add Display and Error impls * Adjust interrupting_an_established_connection_is_err test * Update interrupting_a_connection_attempt_twice_is_err * Remove a blank line * use assert_matches! * Remove PartialEq * Remove source from impl:Error
- Loading branch information
Showing
1 changed file
with
33 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters