pub trait MaybeConvertBack<A, B>: MaybeConvert<A, B> {
// Required method
fn maybe_convert_back(b: B) -> Option<A>;
}
Expand description
Reversing fallible conversion trait returning an Option. Generic over both source and destination types.
Required Methods§
sourcefn maybe_convert_back(b: B) -> Option<A>
fn maybe_convert_back(b: B) -> Option<A>
Attempt to make conversion back.
Object Safety§
This trait is not object safe.