Skip to main content

ResultGenDidExt

Trait ResultGenDidExt 

Source
pub trait ResultGenDidExt<T, E>
where Result<T, E>: Context<T, E>,
{ // Required method fn did(self, msg: &'static str) -> Result<T>; }

Required Methods§

Source

fn did(self, msg: &'static str) -> Result<T>

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<T, E> ResultGenDidExt<T, E> for Result<T, E>
where Result<T, E>: Context<T, E>,