Trait async_hal::can::CanReceive

source ·
pub trait CanReceive: Stream<Item = Result<Self::Frame, Self::Error>> + Sealed {
    type Frame: Frame;
    type Error;
}

Required Associated Types§

Implementors§

source§

impl<T, F, E> CanReceive for Twhere T: ?Sized + Stream<Item = Result<F, E>>, F: ?Sized + Frame,

§

type Frame = F

§

type Error = E