Trait arithmetic_parser::StripResultExt [−][src]
pub trait StripResultExt { type Ok; type StrippedErr: 'static; fn strip_err(self) -> Result<Self::Ok, Self::StrippedErr>; }
Associated Types
type Ok
[src]
type Ok
[src]Type wrapped by the Result::Ok
variant.
type StrippedErr: 'static
[src]
type StrippedErr: 'static
[src]Result of stripping code fragments from an error.
Required methods
fn strip_err(self) -> Result<Self::Ok, Self::StrippedErr>
[src]
fn strip_err(self) -> Result<Self::Ok, Self::StrippedErr>
[src]Strips code fragments from the error variant.
Implementations on Foreign Types
impl<T, E: StripCode> StripResultExt for Result<T, E>
[src]
impl<T, E: StripCode> StripResultExt for Result<T, E>
[src]