pub fn map_poison<F, U>(self, op: F) -> Error<U>
        where F: FnOnce(P) -> U
    {
        Error {
            report: self.report,
            poison: self.poison.map(op),
        }
    }
/// Returns a new version with a changed poison
Returns a new version with a changed poison
Returns a new version with a changed poison
pub fn map_poison<F, U>(self, op: F) -> Error<U>
        where F: FnOnce(P) -> U
    {
        Error {
            report: self.report,
            poison: self.poison.map(op),
        }
    }
pub fn map_poison < F , U > ( self , op : F ) -> Error < U > where F : FnOnce ( P ) -> U { Error { report : self . report , poison : self . poison . map ( op ) , } }
Returns a new version with a changed poison
Returns a new version with a changed poison
self
op
F
self
op
F