[][src]Struct spin::relax::Loop

pub struct Loop;

A strategy that rapidly spins, without telling the CPU to do any powering down.

You almost certainly do not want to use this. Use Spin instead. It exists for completeness and for targets that, for some reason, miscompile or do not support spin hint intrinsics despite attempting to generate code for them (i.e: this is a workaround for possible compiler bugs).

Trait Implementations

impl RelaxStrategy for Loop[src]

Auto Trait Implementations

impl Send for Loop[src]

impl Sync for Loop[src]

impl Unpin for Loop[src]

Blanket Implementations

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

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

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

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<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.