DelayError
Classifies checked delay validation, cancellation and native scheduling failure.
Module std.task
import std.task;Public declaration contracts and authored examples. A page can document several related symbols. Implementation bodies are excluded.
DelayError
pub enum DelayErrorClassifies checked delay validation, cancellation and native scheduling failure.
DelayError.Cancelled
Cancelled;Cooperative user/runtime lifetime cancellation was observed before result publication.
DelayError.Shutdown
Shutdown;Native timer infrastructure shut down while this operation was pending.
DelayError.ClockUnavailable
ClockUnavailable;Monotonic sampling is unavailable on the active target.
DelayError.RangeOverflow
RangeOverflow;Finite tick normalization or deadline addition exceeds the active native carrier.
DelayError.IncompatibleClockDomain
IncompatibleClockDomain;Absolute deadline is default/invalid or belongs to an incompatible native monotonic domain.
DelayError.QueueFull
QueueFull;Native pending timer capacity is full; no timer was left registered.
DelayError.AllocationFailed
AllocationFailed;Lazy native timer storage could not be allocated.
DelayError.StartupFailed
StartupFailed;Native synchronization or reactor startup failed.
DelayError.Closed
Closed;Native timer admission has already closed.
DelayError.InvalidConfiguration
InvalidConfiguration;Native timer capacity configuration cannot be represented.
DelayError.SchedulingLimit
SchedulingLimit;Stable timer ordering cannot advance further.
DelayError.RetentionUnavailable
RetentionUnavailable;Native frame retention cannot reserve its callback pin.
DelayError.InvalidDuration
InvalidDuration;Relative duration validation failed before any native timer was created.
DelayError.InvalidDuration.Error
Error: DurationError;Original checked duration error.