pub fn decode<T>(bytes: &[u8]) -> Result<T, String>where
T: DeserializeOwned,Expand description
Decode a payload from the boundary.
pub fn decode<T>(bytes: &[u8]) -> Result<T, String>where
T: DeserializeOwned,Decode a payload from the boundary.