[−][src]Struct weighted_select::SelectPart
Trait Implementations
impl<S, N> IncompleteSelect for SelectPart<S, N> where
S: Stream,
N: IncompleteSelect<Item = S::Item, Error = S::Error>,
[src]
S: Stream,
N: IncompleteSelect<Item = S::Item, Error = S::Error>,
type Item = S::Item
type Error = S::Error
fn append<NS>(self, stream: NS, weight: u32) -> SelectPart<NS, Self> where
NS: Stream<Item = S::Item, Error = S::Error>,
[src]
NS: Stream<Item = S::Item, Error = S::Error>,
fn build(self) -> Select<Self>
[src]
fn poll_chain(
&mut self,
cursor: u64
) -> (u64, Poll<Option<Self::Item>, Self::Error>)
[src]
&mut self,
cursor: u64
) -> (u64, Poll<Option<Self::Item>, Self::Error>)
impl<S: Debug, N: Debug> Debug for SelectPart<S, N>
[src]
Auto Trait Implementations
impl<S, N> Send for SelectPart<S, N> where
N: Send,
S: Send,
N: Send,
S: Send,
impl<S, N> Sync for SelectPart<S, N> where
N: Sync,
S: Sync,
N: Sync,
S: Sync,
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,