Type Alias darkfi::net::acceptor::AcceptorPtr

source ·
pub type AcceptorPtr = Arc<Acceptor>;
Expand description

Atomic pointer to Acceptor

Aliased Type§

struct AcceptorPtr {
    ptr: NonNull<ArcInner<Acceptor>>,
    phantom: PhantomData<ArcInner<Acceptor>>,
    alloc: Global,
}

Fields§

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