1 2 3 4 5 6
use bytes::BytesMut; // Trait to convert frame to bytesmut pub trait Frame { fn into_data(self) -> BytesMut; }