adar 0.3.0

Adar is a collection of architectural tools including flags, state machine, enum and tuple operations & more.
Documentation
1
2
3
4
5
6
7
8
9
10
11
#[cfg(all(feature = "async-st", feature = "alloc"))]
pub trait MaybeSend {}

#[cfg(all(feature = "async-st", feature = "alloc"))]
impl<T> MaybeSend for T {}

#[cfg(all(not(feature = "async-st"), feature = "alloc"))]
pub trait MaybeSend: Send {}

#[cfg(all(not(feature = "async-st"), feature = "alloc"))]
impl<T: Send> MaybeSend for T {}