teo-result 0.3.5

Result library for Teo.
Documentation
1
2
3
4
5
6
7
8
use std::sync::{MutexGuard, PoisonError};
use crate::Error;

impl<T> From<PoisonError<MutexGuard<'_, T>>> for Error {
    fn from(value: PoisonError<MutexGuard<T>>) -> Self {
        Self::new(format!("{}", value))
    }
}