macro_rules! hsh_parse {
    ($input:expr) => { ... };
}
Expand description

This macro attempts to parse the given input into a u64 value. If parsing fails, an error is returned with a message indicating the failure.

Example

extern crate hsh;
use hsh::{ hsh_parse };

let parsed = hsh_parse!("123");  // `parsed` will be Ok(123)