Return value from the spawn
function.
Currently this value doesn't actually provide any functionality. However, it
provides a way to add functionality later without breaking backwards
compatibility.
This also implements IntoFuture
so that it can be used as the return value
in a for_each
loop.
See spawn
for more details.
Formats the value using the given formatter. Read more
The future that this type can be converted into.
The item that the future may resolve with.
The error that the future may resolve with.
Consumes this object and produces a future.
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static
The future that this type can be converted into.
The item that the future may resolve with.
The error that the future may resolve with.
Consumes this object and produces a future.