MCPcopy Create free account
hub / github.com/cloud-hypervisor/cloud-hypervisor / parse_value

Method parse_value

option_parser/src/lib.rs:432–434  ·  view source on GitHub ↗
(input: &str)

Source from the content-addressed store, hash-verified

430
431impl TupleValue for u64 {
432 fn parse_value(input: &str) -> Result<Self, TupleError> {
433 input.parse::<u64>().map_err(TupleError::InvalidInteger)
434 }
435}
436
437impl TupleValue for Vec<u8> {

Callers

nothing calls this directly

Calls 2

iterMethod · 0.80
mapMethod · 0.45

Tested by

no test coverage detected