pub struct SyncSource<D>(/* private fields */);Expand description
A Dataset, as a DataLoader built by
DataLoader::builder holds it.
Trait Implementations§
Auto Trait Implementations§
impl<D> Forget for SyncSource<D>
impl<D> Freeze for SyncSource<D>
impl<D> RefUnwindSafe for SyncSource<D>where
Arc<D>: RefUnwindSafe,
impl<D> Send for SyncSource<D>
impl<D> Sync for SyncSource<D>
impl<D> Unpin for SyncSource<D>
impl<D> UnsafeUnpin for SyncSource<D>where
Arc<D>: UnsafeUnpin,
impl<D> UnwindSafe for SyncSource<D>where
Arc<D>: 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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more