Struct cros_async::tokio_executor::send_wrapper::SendWrapper   
source · pub(super) struct SendWrapper<T> {
    instance: T,
    thread_id: ThreadId,
}Fields§
§instance: T§thread_id: ThreadIdImplementations§
source§impl<T> SendWrapper<T>
 
impl<T> SendWrapper<T>
pub(super) fn new(instance: T) -> SendWrapper<T>
Trait Implementations§
source§impl<T: Clone> Clone for SendWrapper<T>
 
impl<T: Clone> Clone for SendWrapper<T>
source§fn clone(&self) -> SendWrapper<T>
 
fn clone(&self) -> SendWrapper<T>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from 
source. Read moresource§impl<T> Deref for SendWrapper<T>
 
impl<T> Deref for SendWrapper<T>
source§impl<T> Drop for SendWrapper<T>
 
impl<T> Drop for SendWrapper<T>
impl<T> Send for SendWrapper<T>
impl<T> Sync for SendWrapper<T>
Auto Trait Implementations§
impl<T> Freeze for SendWrapper<T>where
    T: Freeze,
impl<T> RefUnwindSafe for SendWrapper<T>where
    T: RefUnwindSafe,
impl<T> Unpin for SendWrapper<T>where
    T: Unpin,
impl<T> UnwindSafe for SendWrapper<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
source§impl<T> CloneToUninit for Twhere
    T: Clone,
 
impl<T> CloneToUninit for Twhere
    T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
 
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)