pub trait IntoOrPanic:
Sized
+ Copy
+ Debug {
// Provided method
fn into_or_panic<T>(self) -> T
where T: TryFrom<Self> + Debug,
<T as TryFrom<Self>>::Error: Debug { ... }
}
Provided Methods§
fn into_or_panic<T>(self) -> T
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.