Struct disrustor::WithDataProvider
source · pub struct WithDataProvider<D: DataProvider<T>, T>where
T: Send + Sync,{ /* private fields */ }
Implementations§
source§impl<D: DataProvider<T>, T> WithDataProvider<D, T>where
T: Send + Sync,
impl<D: DataProvider<T>, T> WithDataProvider<D, T>where T: Send + Sync,
pub fn with_wait_strategy<W: WaitStrategy>(self) -> WithWaitStrategy<W, D, T>
pub fn with_blocking_wait(self) -> WithWaitStrategy<BlockingWaitStrategy, D, T>
pub fn with_spin_wait(self) -> WithWaitStrategy<SpinLoopWaitStrategy, D, T>
Auto Trait Implementations§
impl<D, T> RefUnwindSafe for WithDataProvider<D, T>where D: RefUnwindSafe, T: RefUnwindSafe,
impl<D, T> Send for WithDataProvider<D, T>
impl<D, T> Sync for WithDataProvider<D, T>
impl<D, T> Unpin for WithDataProvider<D, T>where T: Unpin,
impl<D, T> UnwindSafe for WithDataProvider<D, T>where D: RefUnwindSafe, T: 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