Trait sgx_tstd::marker::Send1.0.0[][src]

pub unsafe auto trait Send { }

Types that can be transferred across thread boundaries.

This trait is automatically implemented when the compiler determines it's appropriate.

An example of a non-Send type is the reference-counting pointer rc::Rc. If two threads attempt to clone Rcs that point to the same reference-counted value, they might try to update the reference count at the same time, which is undefined behavior because Rc doesn't use atomic operations. Its cousin sync::Arc does use atomic operations (incurring some overhead) and thus is Send.

See the Nomicon for more details.

Implementations on Foreign Types

impl Send for Waker
[src]

impl<'a, T> Send for FutureObj<'a, T>
[src]

impl !Send for LocalWaker
[src]

impl Send for Argument

impl Send for FormatSpec

impl Send for Alignment

impl Send for Count

impl Send for Position

impl Send for stat

impl Send for stat64

impl Send for timeval

impl Send for timespec

impl Send for sockaddr

impl Send for sockaddr_in

impl Send for sockaddr_in6

impl Send for sockaddr_un

impl Send for sockaddr_storage

impl !Send for addrinfo

impl Send for sockaddr_nl

impl Send for sockaddr_ll

impl Send for fd_set

impl !Send for tm

impl Send for in_addr

impl Send for in6_addr

impl Send for ip_mreq

impl Send for ipv6_mreq

impl !Send for hostent

impl !Send for iovec

impl Send for pollfd

impl Send for winsize

impl Send for linger

impl !Send for sigval

impl Send for c_void

Implementors

Auto implementors