pub struct Sync<B>(/* private fields */);Expand description
A “marker” to represent a Pool that uses a synchronous object builder
(i.e. SyncBuilder).
This is not to be used by users. This is computed by Pool::new.
Trait Implementations§
Source§impl<T, B> SyncBuilder<T> for Sync<B>where
B: SyncBuilder<T>,
impl<T, B> SyncBuilder<T> for Sync<B>where
B: SyncBuilder<T>,
Auto Trait Implementations§
impl<B> Forget for Sync<B>
impl<B> Freeze for Sync<B>where
B: Freeze,
impl<B> RefUnwindSafe for Sync<B>where
B: RefUnwindSafe,
impl<B> Send for Sync<B>where
B: Send,
impl<B> Sync for Sync<B>where
B: Sync,
impl<B> Unpin for Sync<B>where
B: Unpin,
impl<B> UnsafeUnpin for Sync<B>where
B: UnsafeUnpin,
impl<B> UnwindSafe for Sync<B>where
B: 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> IntoResult<T> for T
impl<T> IntoResult<T> for T
type Error = !
Source§fn into_result(self) -> Result<T, <T as IntoResult<T>>::Error>
fn into_result(self) -> Result<T, <T as IntoResult<T>>::Error>
Transform
self into a Result<T, E>.