pub struct Spawn(_);
Expand description
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.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Spawn
impl Send for Spawn
impl Sync for Spawn
impl Unpin for Spawn
impl UnwindSafe for Spawn
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more