Hi,

The initial Type State implementation in Rust was not a great way to get
about it. Please reconsider adding type state like it has been done in the
Plaid language.

Basically you can use traits mechanism to mixin and remove the trait when
methods marked as having state transitions.

Suminda

Plaid: http://www.cs.cmu.edu/~aldrich/plaid/
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to