{
  "id": "rust-pin-table",
  "kind": "table",
  "slug": "rust-pin",
  "iil_id": null,
  "note_url": "https://iinventedlight.com/library/notes/rust-pin/",
  "title": "Pin a Rust future so it cannot be moved in memory",
  "columns": [
    "name",
    "source",
    "detail"
  ],
  "rows": [
    {
      "name": "Pin",
      "source": "The Rust Programming Language",
      "detail": "Type that guarantees values won't be moved in memory"
    },
    {
      "name": "Unpin",
      "source": "The Rust Programming Language",
      "detail": "Trait for types that may be moved after pinning"
    },
    {
      "name": "pin!",
      "source": "The Rust Programming Language",
      "detail": "Macro that pins a value in the current scope"
    },
    {
      "name": "Box::pin",
      "source": "The Rust Programming Language",
      "detail": "Pins a value when you need it outside the current scope"
    },
    {
      "name": "poll",
      "source": "The Rust Programming Language",
      "detail": "Future method that takes Pin<&mut Self>"
    }
  ],
  "related_slugs": [
    "rust-async-await-futures",
    "rust-box-and-deref",
    "rust-ownership-borrowing"
  ],
  "license": "CC-BY-4.0",
  "source_license": "MIT OR Apache-2.0 (The Rust Programming Language); MIT OR Apache-2.0 (Rust standard library); prose restates cited source lines in own words",
  "as_of": "2026-11-19",
  "status": "deep-draft-20261119",
  "note": "Restated from the note's GREEN sources; check those sources before relying on a value."
}