interprocess 2.2.2

Interprocess communication toolkit
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
//! Forwarding of `Debug` for newtypes. Is also a derive macro in some sense.

macro_rules! forward_try_clone {
	($({$($lt:tt)*})? $ty:ty) => {
		impl $(<$($lt)*>)? crate::TryClone for $ty {
			#[inline]
			fn try_clone(&self) -> ::std::io::Result<Self> {
				Ok(Self(crate::TryClone::try_clone(&self.0)?))
			}
		}
	};
}