1 2 3 4 5 6 7 8 9 10 11 12 13 14
use alloc::vec::Vec; use cgp::prelude::Async; use crate::traits::types::encoded::ProvideEncodedType; pub struct ProvideEncodedBytes; impl<Encode> ProvideEncodedType<Encode> for ProvideEncodedBytes where Encode: Async, { type Encoded = Vec<u8>; }