Skip to main content

validate_revision_wait

Function validate_revision_wait 

Source
pub fn validate_revision_wait(limit: u32, timeout: Duration) -> Result<()>
Expand description

Validates the page limit and timeout of one revision wait.

ยงErrors

Returns ErrorKind::InvalidArgument for a zero or excessive limit or an excessive timeout.