pub trait RxChannelAsync: RxChannelInternal {
// Provided method
async fn receive<T: From<u32> + Copy>(
&mut self,
data: &mut [T],
) -> Result<(), Error>
where Self: Sized { ... }
}
Available on crate feature
unstable
only.Expand description
RX channel in async mode
Provided Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.