pub fn from_wire<'a, 'de, T>(
bytes: &'a [u8],
handles: &'a [Handle],
) -> Result<T>where
T: Deserialize<'de>,
'a: 'de,Expand description
Deserialize a T from some bytes and, optionally, some handles. If the wire is not able to transport handles,
it is fine to produce &[] (as long as T does not contain any handles, that is).