pub trait IncompleteSelect: Sized {
type Item;
type Error;
// Required methods
fn append<NS>(self, stream: NS, weight: u32) -> SelectPart<NS, Self>
where NS: Stream<Item = Self::Item, Error = Self::Error>;
fn build(self) -> Select<Self>;
fn poll_chain(
&mut self,
cursor: u64,
) -> (u64, Poll<Option<Self::Item>, Self::Error>);
}Required Associated Types§
Required Methods§
fn append<NS>(self, stream: NS, weight: u32) -> SelectPart<NS, Self>
fn build(self) -> Select<Self>
fn poll_chain( &mut self, cursor: u64, ) -> (u64, Poll<Option<Self::Item>, Self::Error>)
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.