1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
use super::super::message::*; // use std::sync::*; // // ConcurrencyError // message_error!(ConcurrencyError, "concurrency"); // impl<DataT> From<PoisonError<DataT>> for ConcurrencyError { // fn from(error: PoisonError<DataT>) -> Self { // Self::from(error.to_string()) // } // }