pub trait StripResultExt {
type Ok;
type StrippedErr: 'static;
// Required method
fn strip_err(self) -> Result<Self::Ok, Self::StrippedErr>;
}
Required Associated Types§
Sourcetype StrippedErr: 'static
type StrippedErr: 'static
Result of stripping code fragments from an error.
Required Methods§
Sourcefn strip_err(self) -> Result<Self::Ok, Self::StrippedErr>
fn strip_err(self) -> Result<Self::Ok, Self::StrippedErr>
Strips code fragments from the error variant.