pub trait Unvoidable {
type Result;
// Required method
fn not_void(self) -> Self::Result;
}Expand description
Things that you can call not_void on
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementations on Foreign Types§
Source§impl<A> Unvoidable for Result<A, Void>
Eliminate a Result<_, Void>
impl<A> Unvoidable for Result<A, Void>
Eliminate a Result<_, Void>