Type Alias BincodeReprFor
pub type BincodeReprFor<'a, T> = <T as SerdeBincodeCompat>::BincodeRepr<'a>;
Expand description
Type alias for the SerdeBincodeCompat::BincodeRepr
associated type.
This provides a convenient way to refer to the bincode representation type without having to write out the full associated type projection.
§Example
fn serialize_to_bincode<T: SerdeBincodeCompat>(value: &T) -> BincodeReprFor<'_, T> {
value.as_repr()
}
Layout§
Note: Encountered an error during type layout; the type failed to be normalized.