mirror of
https://github.com/spacedriveapp/spacedrive
synced 2024-07-02 10:03:28 +00:00
Make quic field of P2PManager private (#2234)
Make P2PManager.quic private
This commit is contained in:
parent
d52b720a12
commit
ff4d0cc519
|
@ -40,8 +40,7 @@ use super::{P2PEvents, PeerMetadata};
|
|||
pub struct P2PManager {
|
||||
pub(crate) p2p: Arc<P2P>,
|
||||
mdns: Mutex<Option<Mdns>>,
|
||||
// TODO: Make private
|
||||
pub quic: QuicTransport,
|
||||
quic: QuicTransport,
|
||||
// The `libp2p::PeerId`. This is for debugging only, use `RemoteIdentity` instead.
|
||||
lp2p_peer_id: Libp2pPeerId,
|
||||
pub(crate) events: P2PEvents,
|
||||
|
|
Loading…
Reference in a new issue