Skip to main content

DandelionPoolManager

Struct DandelionPoolManager 

Source
pub struct DandelionPoolManager<P, R, Tx, TxId, PeerId> { /* private fields */ }
Expand description

The dandelion++ pool manager.

See the module docs for more.

Auto Trait Implementations§

§

impl<P, R, Tx, TxId, PeerId> !RefUnwindSafe for DandelionPoolManager<P, R, Tx, TxId, PeerId>

§

impl<P, R, Tx, TxId, PeerId> !UnwindSafe for DandelionPoolManager<P, R, Tx, TxId, PeerId>

§

impl<P, R, Tx, TxId, PeerId> Forget for DandelionPoolManager<P, R, Tx, TxId, PeerId>

§

impl<P, R, Tx, TxId, PeerId> Freeze for DandelionPoolManager<P, R, Tx, TxId, PeerId>
where R: Freeze, P: Freeze, *const ArcInner<Mutex<ListsInner<JoinHandle<(TxId, Result<State, TxState<PeerId>>)>>>> is !null: Freeze, PhantomData<ArcInner<Mutex<ListsInner<JoinHandle<(TxId, Result<State, TxState<PeerId>>)>>>>>: Freeze, *const u8 is !null: Freeze, PhantomData<(TxId, HashSet<PeerId>)>: Freeze, PhantomData<Entry<Data<TxId>>>: Freeze, PhantomData<(Key, KeyInternal)>: Freeze, *const [Level<Stack<TxId>>] is !null: Freeze, PhantomData<[Level<Stack<TxId>>]>: Freeze, PhantomData<fn() -> TxId>: Freeze, *const Sleep is !null: Freeze, PhantomData<Sleep>: Freeze, *const (): Freeze, &'static RawWakerVTable: Freeze, PhantomData<(TxId, Key)>: Freeze, PhantomData<Tx>: Freeze,

§

impl<P, R, Tx, TxId, PeerId> Move for DandelionPoolManager<P, R, Tx, TxId, PeerId>

§

impl<P, R, Tx, TxId, PeerId> Send for DandelionPoolManager<P, R, Tx, TxId, PeerId>
where TxId: Send, Tx: Send, R: Send, P: Send, IdleNotifiedSet<JoinHandle<(TxId, Result<State, TxState<PeerId>>)>>: Send, RawTable<(TxId, HashSet<PeerId>)>: Send, RawVecInner: Send, RawTable<(Key, KeyInternal)>: Send, BoxRaw<[Level<Stack<TxId>>]>: Send, BoxRaw<Sleep>: Send, Waker: Send, RawTable<(TxId, Key)>: Send,

§

impl<P, R, Tx, TxId, PeerId> Sync for DandelionPoolManager<P, R, Tx, TxId, PeerId>
where TxId: Sync, Tx: Sync, R: Sync, P: Sync, IdleNotifiedSet<JoinHandle<(TxId, Result<State, TxState<PeerId>>)>>: Sync, RawTable<(TxId, HashSet<PeerId>)>: Sync, RawVecInner: Sync, RawTable<(Key, KeyInternal)>: Sync, BoxRaw<[Level<Stack<TxId>>]>: Sync, BoxRaw<Sleep>: Sync, Waker: Sync, RawTable<(TxId, Key)>: Sync,

§

impl<P, R, Tx, TxId, PeerId> Unpin for DandelionPoolManager<P, R, Tx, TxId, PeerId>
where PeerId: Unpin, TxId: Unpin, Tx: Unpin, R: Unpin, P: Unpin, Arc<Mutex<ListsInner<JoinHandle<(TxId, Result<State, TxState<PeerId>>)>>>>: Unpin, *const u8 is !null: Unpin, DelayQueue<TxId>: Unpin,

§

impl<P, R, Tx, TxId, PeerId> UnsafeUnpin for DandelionPoolManager<P, R, Tx, TxId, PeerId>
where R: UnsafeUnpin, P: UnsafeUnpin, *const ArcInner<Mutex<ListsInner<JoinHandle<(TxId, Result<State, TxState<PeerId>>)>>>> is !null: UnsafeUnpin, PhantomData<ArcInner<Mutex<ListsInner<JoinHandle<(TxId, Result<State, TxState<PeerId>>)>>>>>: UnsafeUnpin, *const u8 is !null: UnsafeUnpin, PhantomData<(TxId, HashSet<PeerId>)>: UnsafeUnpin, PhantomData<Entry<Data<TxId>>>: UnsafeUnpin, PhantomData<(Key, KeyInternal)>: UnsafeUnpin, *const [Level<Stack<TxId>>] is !null: UnsafeUnpin, PhantomData<[Level<Stack<TxId>>]>: UnsafeUnpin, PhantomData<fn() -> TxId>: UnsafeUnpin, *const Sleep is !null: UnsafeUnpin, PhantomData<Sleep>: UnsafeUnpin, *const (): UnsafeUnpin, &'static RawWakerVTable: UnsafeUnpin, PhantomData<(TxId, Key)>: UnsafeUnpin, PhantomData<Tx>: UnsafeUnpin,

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
where ST: ?Sized, DT: ?Sized,

§

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self> ⓘ

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self> ⓘ

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

§

impl<T> Read<Exclusive, BecauseExclusive> for T
where T: ?Sized,

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> ⓘ
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self> ⓘ

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more

Layout§

Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.