pub fn assert_loopback<T>(value: &T)where T::Err: Debug, T: Debug + FromStr + ToString + PartialEq,
Asserts that a value that implements both FromStr and ToString may be marshalled to a string and back again to an equivalent (by a PartialEq comparison) value.
FromStr
ToString
PartialEq
If the assertion fails.