Function aws_smithy_eventstream::smithy::expect_bool
source ยท pub fn expect_bool(header: &Header) -> Result<bool, Error>
Expand description
Expects that header
is a bool
.
pub fn expect_bool(header: &Header) -> Result<bool, Error>
Expects that header
is a bool
.