Type Alias darkfi::net::p2p::P2pPtr

source ·
pub type P2pPtr = Arc<P2p>;
Expand description

Atomic pointer to the p2p interface

Aliased Type§

struct P2pPtr {
    ptr: NonNull<ArcInner<P2p>>,
    phantom: PhantomData<ArcInner<P2p>>,
    alloc: Global,
}

Fields§

§ptr: NonNull<ArcInner<P2p>>§phantom: PhantomData<ArcInner<P2p>>§alloc: Global