Function message_trailers_bytes

Source
pub fn message_trailers_bytes<S>(
    message: S,
) -> Result<MessageTrailersBytes, Error>
where S: IntoCString,
Expand description

Get the trailers for the given message.

Use this function when the message might not be UTF-8-encoded, or if you want to handle the returned trailer key–value pairs as bytes.