pub trait XRay {
type Item;
// Required method
fn xray<F: FnOnce(&Self::Item)>(self, f: F) -> Self;
}Expand description
A placeholder trait intended for depreciation once result_option_inspect becomes stable
Required Associated Types§
Required Methods§
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.