pub trait AsyncRxDevice: AsyncDeviceInfo {
type RxStreamer: AsyncRxStreamer;
// Required method
fn async_rx_streamer<'a>(
&'a self,
channels: &'a [usize],
args: Args,
) -> impl Future<Output = Result<Self::RxStreamer, Error>> + MaybeSend + 'a;
}Expand description
Asynchronous RX streaming capability.
Required Associated Types§
Sourcetype RxStreamer: AsyncRxStreamer
type RxStreamer: AsyncRxStreamer
RX streamer implementation.
Required Methods§
Sourcefn async_rx_streamer<'a>(
&'a self,
channels: &'a [usize],
args: Args,
) -> impl Future<Output = Result<Self::RxStreamer, Error>> + MaybeSend + 'a
fn async_rx_streamer<'a>( &'a self, channels: &'a [usize], args: Args, ) -> impl Future<Output = Result<Self::RxStreamer, Error>> + MaybeSend + 'a
Create an RX streamer.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".