refactor(lib): export the ConnectionType parse error and document what hosts can still match

This commit is contained in:
Michel de Graaf
2026-09-08 01:45:02 +02:00
parent 07dd163156
commit 976dd706d7
3 changed files with 4 additions and 6 deletions
-2
View File
@@ -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),