session_types 0.3.1

An implementation of session types in Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
extern crate session_types;

use session_types::HasDual;

struct CustomProto;

impl HasDual for CustomProto { //~ ERROR the trait bound `CustomProto: session_types::private::Sealed` is not satisfied
    type Dual = CustomProto;
}

fn main() {}