Function aws_smithy_json::deserialize::token::skip_to_end

source ยท
pub fn skip_to_end<'a>(
    tokens: &mut impl Iterator<Item = Result<Token<'a>, DeserializeError>>,
) -> Result<(), DeserializeError>
Expand description

Assumes a start object/array token has already been consumed and skips tokens until until its corresponding end object/array token is found.