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.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".