Definition

A trait in Rust that does not have any methods.

Marker traits are typically used for marking certain assumptions or invariance on a given type, allowing for code soundness and potential optimizations by the compiler.

It does not have any artifact in the compiled binary.

An example is the Unpin trait.