Method lrs::time::Clock::sleep_for

Sleeps for an amount of time.

Syntax

impl Clock {
    fn sleep_for(self, t: Time) -> Result<(), Errno>
}

Arguments

NameDescription
t

The amount of time to sleep.