fmc_protocol 0.1.3

The fmc protocol
Documentation
1
2
3
4
5
6
7
8
9
10
11
use crate::MessageType;

/// A marker trait to signal that this message should be sent to the server
pub trait ServerBound {
    const TYPE: MessageType;
}

/// A marker trait to signal that this message should be sent to clients
pub trait ClientBound {
    const TYPE: MessageType;
}