pub trait UnwrapOrBug {
type Output;
// Required method
fn unwrap_or_bug(self) -> Self::Output;
}Required Associated Types§
Required Methods§
fn unwrap_or_bug(self) -> Self::Output
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".