Ben Chuanlong Du's Blog

It is never too late to learn.

Constraints on Types in Rust

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

Ways to Make Sure that a Type in Rust Satisfy Certain Conditions

  1. type bounds using the where clause

  2. disable users from constructing instances of a struct and provide initialized instances (with …

Useful Rust Crates for Database

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

https://github.com/neondatabase/neon Neon is a serverless open-source alternative to AWS Aurora Postgres. It separates storage and compute and substitutes the PostgreSQL storage layer by redistributing data across a …