pub trait Transport<SinkItem, Item>where
Self: Stream<Item = Result<Item, <Self as Sink<SinkItem>>::Error>> + Sink<SinkItem, Error = Self::TransportError>,
<Self as Sink<SinkItem>>::Error: Error,{
type TransportError: Error + Send + Sync + 'static;
}
Required Associated Types§
Sourcetype TransportError: Error + Send + Sync + 'static
type TransportError: Error + Send + Sync + 'static
Associated type where clauses are not elaborated; this associated type allows users
bounding types by Transport to avoid having to explicitly add T::Error: Error
to their
bounds.