[−][src]Struct coco::epoch::Pin
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
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]
U: From<T>,
impl<T> From<T> for T[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,