Skip to main content

arguments

Function arguments 

Source
pub fn arguments(stored: &Stored, given: &[String]) -> Result<Vec<String>>
Expand description

Matches the values given against the parameters declared.

Every check here happens before a connection is opened, so a missing value or a wrong kind costs nothing but the check itself.

ยงErrors

Returns a usage failure when a value is missing, when a value is not of its declared kind, or when a value was given under a name that is not declared.