Timeout

Type Alias Timeout 

Source
pub type Timeout = Option<Duration>;
Expand description

Represents a timeout duration for lock operations.

  • Some(duration) - Wait up to this duration
  • None - Wait indefinitely

Aliased Type§

pub enum Timeout {
    None,
    Some(Duration),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(Duration)

Some value of type T.