You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
patterns/patterns/late-bounds.md

700 B

Late bound bounds

Description

TODO late binding of bounds for better APIs (i.e., Mutex's don't require Send)

Example

// An example of the pattern in action, should be mostly code, commented
// liberally.

Motivation

Why and where you should use the pattern

Advantages

Good things about this pattern.

Disadvantages

Bad things about this pattern. Possible contraindications.

Discussion

A deeper discussion about this pattern. You might want to cover how this is done in other languages, alternative approaches, why this is particularly nice in Rust, etc.

See also

Related patterns (link to the pattern file). Versions of this pattern in other languages.