Struct BoxedIndirection
Source pub struct BoxedIndirection<W>(pub W);
Expand description
Runs the given writable or sequence, but places the future inside Box::pin.
This layer of indirection helps to break recursion issues in async code.
(This struct can be used as either a writable or a sequence, depending on its contents)
Writes to the output. Returns the output’s error upon failure.
Read more
Writes each writable value in the sequence
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
Returns the argument unchanged.
Calls U::from(self).
That is, this conversion is whatever the implementation of
From<T> for U chooses to do.
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.