---
title: "Discussion on \"Understanding Unpin and Pinning with tokio::select!\" | Hashnode"
description: "Discussion on \"Understanding Unpin and Pinning with tokio::select!\". Learn why tokio::select! requires Unpin futures and how to fix compiler errors using tokio::pin! vs Box::pin for stack and heap pinning in Rust."
url: "https://hashnode.com/posts/understanding-unpin-and-pinning-with-tokio-select/6a658964ee30bd18d9bd433f"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Understanding Unpin and Pinning with tokio::select!](https://bakus-tech-blog.hashnode.dev/understanding-unpin-and-pinning-with-tokio-select?utm_source=hashnode&utm_medium=feed)

Learn why tokio::select! requires Unpin futures and how to fix compiler errors using tokio::pin! vs Box::pin for stack and heap pinning in Rust.

Jul 26 · 6 min read · bakus-tech-blog.hashnode.dev  
Read the article

-   [#rust](https://hashnode.com/tag/rust)
-   [#tokio](https://hashnode.com/tag/tokio)
-   [#asynchronous](https://hashnode.com/tag/asynchronous)

## Written by

[Baku Kim](https://hashnode.com/@probaku1234)

@probaku1234

  
[View profile](https://hashnode.com/@probaku1234)

AI Engineer | Ex-Backend Developer | Tech Enthusiast

With 2+ years of experience in web backend development, I now specialize in AI engineering, building intelligent systems and scalable solutions. Passionate about crafting innovative software, I love exploring new technologies, experimenting with AI models, and bringing ideas to life. Always learning, always building.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
