Home
last modified time | relevance | path

Searched refs:to_unexpected_item_error (Results 1 – 1 of 1) sorted by relevance

/packages/modules/Virtualization/libs/cborutil/src/
Dlib.rs53 v.into_array().map_err(|e| to_unexpected_item_error(&e, "array", context)) in value_to_array()
58 v.into_text().map_err(|e| to_unexpected_item_error(&e, "tstr", context)) in value_to_text()
63 v.into_map().map_err(|e| to_unexpected_item_error(&e, "map", context)) in value_to_map()
68 let num = v.into_integer().map_err(|e| to_unexpected_item_error(&e, "int", context))?; in value_to_num()
86 v.into_bytes().map_err(|e| to_unexpected_item_error(&e, "bstr", context)) in value_to_bytes()
91 pub fn to_unexpected_item_error( in to_unexpected_item_error() function
122 to_unexpected_item_error(v, "bstr", "Get label value in CoseKey as bytes") in get_label_value_as_bytes()