refactor(lib): export the ConnectionType parse error and document what hosts can still match
This commit is contained in:
@@ -21,9 +21,7 @@ use std::sync::mpsc::{Receiver, Sender};
|
||||
use std::sync::{Arc, RwLock};
|
||||
use std::time::{Duration, Instant};
|
||||
|
||||
/// Marked non-exhaustive: each peer message the client learns adds a variant.
|
||||
#[derive(Debug, Clone)]
|
||||
#[non_exhaustive]
|
||||
pub enum PeerMessage {
|
||||
SendMessage(Message),
|
||||
FileSearchResult(SearchResult),
|
||||
|
||||
Reference in New Issue
Block a user