mod mutex;
#[allow(clippy::module_name_repetitions)]
pub trait Map<'a, 'g, T: ?Sized, G: 'g> {
fn map<F, U>(&'a self, f: F) -> U
where
F: FnOnce(G) -> U + 'g,
'a: 'g;
}
#[allow(clippy::module_name_repetitions)]
pub trait TryMap<'a, 'g, T: ?Sized, G: 'g, E = G> {
fn try_map<F, U>(&'a self, f: F) -> Result<U, E>
where
F: FnOnce(G) -> U + 'g,
'a: 'g;
}