pub(crate) trait Tag {
type Buf: AsRef<[u8]> + AsMut<[u8]> + Debug + Unpin;
const PATTERN: &'static [u8];
// Required method
fn make_buf() -> Self::Buf;
}
Expand description
Tag defines a “trailer tag”: specific, fixed bytes that must follow wire data.
Required Associated Types§
Required Associated Constants§
Required Methods§
Object Safety§
This trait is not object safe.