Struct std::kinds::marker::NoSendExperimental [-]  [+] [src]

pub struct NoSend;

A type which is considered "not sendable", meaning that it cannot be safely sent between tasks, even if it is owned. This is typically embedded in other types, such as Gc, to ensure that their instances remain thread-local.

Trait Implementations

Derived Implementations

impl Ord for NoSend

fn cmp(&self, __arg_0: &NoSend) -> Ordering

impl PartialOrd<NoSend> for NoSend

fn partial_cmp(&self, __arg_0: &NoSend) -> Option<Ordering>

fn lt(&self, __arg_0: &NoSend) -> bool

fn le(&self, __arg_0: &NoSend) -> bool

fn gt(&self, __arg_0: &NoSend) -> bool

fn ge(&self, __arg_0: &NoSend) -> bool

fn lt(&self, &NoSend) -> bool

fn le(&self, &NoSend) -> bool

fn gt(&self, &NoSend) -> bool

fn ge(&self, &NoSend) -> bool

impl Eq for NoSend

fn assert_receiver_is_total_eq(&self)

impl PartialEq<NoSend> for NoSend

fn eq(&self, __arg_0: &NoSend) -> bool

fn ne(&self, __arg_0: &NoSend) -> bool

fn ne(&self, &NoSend) -> bool

impl Copy for NoSend

impl Clone for NoSend

fn clone(&self) -> NoSend

fn clone_from(&mut self, &NoSend)