[][src]Enum hiatus::Step

#[must_use]pub enum Step<'a> {
    Real {
        n: u64,
        current_step: MutexGuard<'a, u64>,
    },
    Dummy,
}

Breakpoint object returned by step, with drop semantics.

See the docs for step for usage.

Variants

Real

Step variant used when Hiatus is enabled.

Fields of Real

n: u64current_step: MutexGuard<'a, u64>
Dummy

Step variant used when Hiatus is disabled.

Implementations

impl<'a> Step<'a>[src]

pub fn then(self, n: u64) -> Step<'a>[src]

Shorthand for dropping this step and moving to a new step n.

Trait Implementations

impl<'a> Drop for Step<'a>[src]

fn drop(&mut self)[src]

Increment the global step count, and signal the condition variable to wake up waiters.

Auto Trait Implementations

impl<'a> !RefUnwindSafe for Step<'a>

impl<'a> !Send for Step<'a>

impl<'a> Sync for Step<'a>

impl<'a> Unpin for Step<'a>

impl<'a> !UnwindSafe for Step<'a>

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.