pub trait Shard: Clone + AsRef<[u8]> + AsMut<[u8]> + AsMut<[[u8; 2]]> + AsRef<[[u8; 2]]> + FromIterator<[u8; 2]> + From<Vec<u8>> {
    type Inner;

    // Required method
    fn into_inner(self) -> Self::Inner;
}

Required Associated Types§

Required Methods§

source

fn into_inner(self) -> Self::Inner

Implementors§

source§

impl<T> Shard for Twhere T: Clone + AsRef<[u8]> + AsMut<[u8]> + AsMut<[[u8; 2]]> + AsRef<[[u8; 2]]> + FromIterator<[u8; 2]> + From<Vec<u8>>,

§

type Inner = T