Struct disrustor::WithWaitStrategy
source · pub struct WithWaitStrategy<W: WaitStrategy, D: DataProvider<T>, T>where
T: Send + Sync,{ /* private fields */ }
Implementations§
source§impl<W: WaitStrategy, D: DataProvider<T>, T> WithWaitStrategy<W, D, T>where
T: Send + Sync,
impl<W: WaitStrategy, D: DataProvider<T>, T> WithWaitStrategy<W, D, T>where T: Send + Sync,
pub fn with_sequencer<S: Sequencer>( self, sequencer: S ) -> WithSequencer<S, W, D, T>
pub fn with_single_producer( self ) -> WithSequencer<SingleProducerSequencer<W>, W, D, T>
pub fn with_multi_producer( self ) -> WithSequencer<MultiProducerSequencer<W>, W, D, T>
Auto Trait Implementations§
impl<W, D, T> RefUnwindSafe for WithWaitStrategy<W, D, T>where D: RefUnwindSafe, T: RefUnwindSafe, W: RefUnwindSafe,
impl<W, D, T> Send for WithWaitStrategy<W, D, T>
impl<W, D, T> Sync for WithWaitStrategy<W, D, T>
impl<W, D, T> Unpin for WithWaitStrategy<W, D, T>where T: Unpin, W: Unpin,
impl<W, D, T> UnwindSafe for WithWaitStrategy<W, D, T>where D: RefUnwindSafe, T: UnwindSafe, W: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more