aboutsummaryrefslogtreecommitdiffstats
path: root/teleterm-web/src/protocol.rs
blob: af408918857dd648c31960fec76707b039f824f2 (plain) (blame)
1
2
3
4
5
6
7
8
// it's possible we should just consider pulling the real protocol out into a
// crate or something? but ideally in a way that doesn't require pulling in
// tokio
#[derive(Debug, Clone, PartialEq, Eq, serde::Deserialize)]
pub enum Message {
    TerminalOutput { data: Vec<u8> },
    Disconnected,
}