1 2 3 4 5 6 7 8 9 10 11
use crate::{Bytes, VecValue}; /// Value trait for BytesVec. /// Extends RawVecValue with Bytes trait for custom serialization. pub trait BytesVecValue where Self: VecValue + Bytes, { } impl<T> BytesVecValue for T where T: VecValue + Bytes {}