pub fn reply_sealed<T: Encode>(
value: &T,
key: SerializationKey,
) -> Result<Response<Bytes>, Rejection>Expand description
Seals value with key and returns it as an application/octet-stream response (200 OK).
T must implement bincode::Encode.
Equivalent to reply!(sealed => value, key => key).