assert_loopback

Function assert_loopback 

Source
pub fn assert_loopback<T>(value: &T)
where T::Err: Debug, T: Debug + FromStr + ToString + PartialEq,
Expand description

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.

ยงPanics

If the assertion fails.