[][src]Struct unsafe_send_sync::UnsafeSend

pub struct UnsafeSend<T> {
    pub i: T,
}

A wrapper struct that unsafely is always Send.

Fields

i: T

Implementations

impl<T> UnsafeSend<T>[src]

pub fn new(internal: T) -> Self[src]

Trait Implementations

impl<T> Default for UnsafeSend<T> where
    T: Default
[src]

impl<T> Deref for UnsafeSend<T>[src]

type Target = T

The resulting type after dereferencing.

impl<T> DerefMut for UnsafeSend<T>[src]

impl<T> Send for UnsafeSend<T>[src]

Auto Trait Implementations

impl<T> RefUnwindSafe for UnsafeSend<T> where
    T: RefUnwindSafe

impl<T> Sync for UnsafeSend<T> where
    T: Sync

impl<T> Unpin for UnsafeSend<T> where
    T: Unpin

impl<T> UnwindSafe for UnsafeSend<T> where
    T: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.