Trait can_type_rs::CanDeviceAsync 
source · pub trait CanDeviceAsync {
    type Error;
    type Frame;
    type Channel;
    // Required methods
    fn transmit_async(
        &self,
        channel: Self::Channel,
        frames: Self::Frame,
        canfd: bool,
        _: Option<usize>,
    ) -> impl Future<Output = Result<usize, Self::Error>>;
    fn receive_async(
        &self,
        channel: Self::Channel,
        canfd: bool,
        timeout: Option<usize>,
    ) -> impl Future<Output = Result<Self::Frame, Self::Error>>;
}Required Associated Types§
Required Methods§
fn transmit_async( &self, channel: Self::Channel, frames: Self::Frame, canfd: bool, _: Option<usize>, ) -> impl Future<Output = Result<usize, Self::Error>>
fn receive_async( &self, channel: Self::Channel, canfd: bool, timeout: Option<usize>, ) -> impl Future<Output = Result<Self::Frame, Self::Error>>
Object Safety§
This trait is not object safe.