Skip to main content

AsyncRxDevice

Trait AsyncRxDevice 

Source
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§

Source

type RxStreamer: AsyncRxStreamer

RX streamer implementation.

Required Methods§

Source

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".

Implementors§