Trait CanReceive

Source
pub trait CanReceive: Stream<Item = Result<Self::Frame, Self::Error>> + Sealed {
    type Frame: Frame;
    type Error;
}
Available on crate feature can only.

Required Associated Types§

Implementors§

Source§

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

Source§

type Frame = F

Source§

type Error = E