Type Alias darkfi::net::channel::ChannelPtr

source ·
pub type ChannelPtr = Arc<Channel>;
Expand description

Atomic pointer to async channel

Aliased Type§

struct ChannelPtr {
    ptr: NonNull<ArcInner<Channel>>,
    phantom: PhantomData<ArcInner<Channel>>,
    alloc: Global,
}

Fields§

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