Function aws_smithy_json::deserialize::token::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.