Struct std::kinds::marker::NoSend[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 Clone for NoSend

fn clone(&self) -> NoSend

fn clone_from(&mut self, &NoSend)

impl PartialEq for NoSend

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

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

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