Blog Posts

Recent posts

Rust - AsRef usage

less than 1 minute read

AsRef is useful for generic function on accepting specific reference such as str or Path as trait bounds.

Rust - Error Conversion

2 minute read

Rust does not have an exception mechanism for error handling they provided the following two types.