1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
use ;
use zerocopy_value_codec;
use VarInt;
use ;
;
zerocopy_value_codec!;
/*
impl fmt::Debug for Tag {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
f.debug_struct("datagram::Tag")
.field("mode", &self.mode())
.finish()
}
}
impl Tag {
#[inline]
pub fn mode(&self) -> Mode {
}
}
#[derive(Clone, Copy, Debug)]
pub enum Mode {
Early,
Authenticated,
Stateless,
}
*/