1
2
3
4
5
6
7
8
9
use zerocopy::{AsBytes, FromBytes};

pub(crate) trait ShMemOps<T>
where
    T: AsBytes + FromBytes + Default,
{
    fn get_t(&self) -> &T;
    fn get_t_mut(&mut self) -> &mut T;
}