Skip to main content

expect_string

Function expect_string 

Source
pub fn expect_string(
    value: RuntimeValue,
    what: &str,
) -> Result<String, ValueProjectionError>
Expand description

Extract a string from a RuntimeValue::String or report a typed error.