Struct Unfold

struct Unfold<T, F, R> { ... }

Sink for the unfold function.

Implementations

impl<'__pin, T, F, R> Unpin for Unfold<T, F, R>

impl<T> Any for Unfold<T, F, R>

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for Unfold<T, F, R>

fn borrow(self: &Self) -> &T

impl<T> BorrowMut for Unfold<T, F, R>

fn borrow_mut(self: &mut Self) -> &mut T

impl<T> From for Unfold<T, F, R>

fn from(t: T) -> T

Returns the argument unchanged.

impl<T, F, R> Freeze for Unfold<T, F, R>

impl<T, F, R> RefUnwindSafe for Unfold<T, F, R>

impl<T, F, R> Send for Unfold<T, F, R>

impl<T, F, R> Sync for Unfold<T, F, R>

impl<T, F, R> UnsafeUnpin for Unfold<T, F, R>

impl<T, F, R> UnwindSafe for Unfold<T, F, R>

impl<T, F, R, Item, E> Sink for Unfold<T, F, R>

fn poll_ready(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Result<(), <Self as >::Error>>
fn start_send(self: Pin<&mut Self>, item: Item) -> Result<(), <Self as >::Error>
fn poll_flush(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Result<(), <Self as >::Error>>
fn poll_close(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Result<(), <Self as >::Error>>

impl<T, Item> SinkExt for Unfold<T, F, R>

impl<T, U> Into for Unfold<T, F, R>

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom for Unfold<T, F, R>

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto for Unfold<T, F, R>

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>

impl<T: $crate::fmt::Debug, F: $crate::fmt::Debug, R: $crate::fmt::Debug> Debug for Unfold<T, F, R>

fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result