mirror of
https://github.com/spacedriveapp/spacedrive
synced 2024-07-07 05:33:27 +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 struct P2PManager {
|
||||||
pub(crate) p2p: Arc<P2P>,
|
pub(crate) p2p: Arc<P2P>,
|
||||||
mdns: Mutex<Option<Mdns>>,
|
mdns: Mutex<Option<Mdns>>,
|
||||||
// TODO: Make private
|
quic: QuicTransport,
|
||||||
pub quic: QuicTransport,
|
|
||||||
// The `libp2p::PeerId`. This is for debugging only, use `RemoteIdentity` instead.
|
// The `libp2p::PeerId`. This is for debugging only, use `RemoteIdentity` instead.
|
||||||
lp2p_peer_id: Libp2pPeerId,
|
lp2p_peer_id: Libp2pPeerId,
|
||||||
pub(crate) events: P2PEvents,
|
pub(crate) events: P2PEvents,
|
||||||
|
|
Loading…
Reference in a new issue