aws_smithy_json::deserialize::token

Function expect_start_object

Source
pub fn expect_start_object(
    token_result: Option<Result<Token<'_>, Error>>,
) -> Result<(), Error>
Expand description

Expects a Token::StartObject token and returns an error if it’s not present.