[][src]Struct coco::epoch::Pin

pub struct Pin { /* fields omitted */ }

A witness that the current thread is pinned.

A reference to Pin is proof that the current thread is pinned. Lots of methods that interact with Atomics can safely be called only while the thread is pinned so they often require a reference to Pin.

This data type is inherently bound to the thread that created it, therefore it does not implement Send nor Sync.

Trait Implementations

impl Debug for Pin[src]

Auto Trait Implementations

impl !Send for Pin

impl !Sync for Pin

impl Unpin for Pin

impl !UnwindSafe for Pin

impl !RefUnwindSafe for Pin

Blanket Implementations

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

impl<T> From<T> for 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.

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

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

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