pub struct SyncWrapper<T> { /* private fields */ }Expand description
Copied from tokio
Implementations§
Source§impl<T> SyncWrapper<T>
impl<T> SyncWrapper<T>
Sourcepub fn into_inner(self) -> T
pub fn into_inner(self) -> T
Get the inner value
Trait Implementations§
Source§impl<T> Debug for SyncWrapper<T>
impl<T> Debug for SyncWrapper<T>
impl<T: Send> Send for SyncWrapper<T>
impl<T> Sync for SyncWrapper<T>
Auto Trait Implementations§
impl<T> Freeze for SyncWrapper<T>where
T: Freeze,
impl<T> RefUnwindSafe for SyncWrapper<T>where
T: RefUnwindSafe,
impl<T> Unpin for SyncWrapper<T>where
T: Unpin,
impl<T> UnwindSafe for SyncWrapper<T>where
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