pub struct CompactListCodec<T>(pub T);Tuple Fields§
§0: TTrait Implementations§
Source§impl<T: Clone> Clone for CompactListCodec<T>
impl<T: Clone> Clone for CompactListCodec<T>
Source§impl<O: Ops, T: IntoIterator<Item = V> + FromIterator<V> + Clone, V: Codec<O> + Any> Codec<O> for CompactListCodec<T>
impl<O: Ops, T: IntoIterator<Item = V> + FromIterator<V> + Clone, V: Codec<O> + Any> Codec<O> for CompactListCodec<T>
Source§fn codec_read(ops: &O) -> ReadResult<Self>
fn codec_read(ops: &O) -> ReadResult<Self>
Convert from a data format to a data structure.
Source§fn codec_write(&self) -> WriteResult<O>
fn codec_write(&self) -> WriteResult<O>
Convert from a data structure to a data format.
type Incomplete = Result<Self, ReadError>
Source§impl<T: Debug> Debug for CompactListCodec<T>
impl<T: Debug> Debug for CompactListCodec<T>
Source§impl<T> Interchangeable<CompactListCodec<Vec<T>>> for Vec<T>
impl<T> Interchangeable<CompactListCodec<Vec<T>>> for Vec<T>
fn interchangeable_into(self) -> CompactListCodec<Vec<T>>
fn interchangeable_from(other: CompactListCodec<Vec<T>>) -> Self
Source§impl<T: PartialEq> PartialEq for CompactListCodec<T>
impl<T: PartialEq> PartialEq for CompactListCodec<T>
impl<T: PartialEq> StructuralPartialEq for CompactListCodec<T>
Auto Trait Implementations§
impl<T> Forget for CompactListCodec<T>
impl<T> Freeze for CompactListCodec<T>where
T: Freeze,
impl<T> Move for CompactListCodec<T>
impl<T> RefUnwindSafe for CompactListCodec<T>where
T: RefUnwindSafe,
impl<T> Send for CompactListCodec<T>where
T: Send,
impl<T> Sync for CompactListCodec<T>where
T: Sync,
impl<T> Unpin for CompactListCodec<T>where
T: Unpin,
impl<T> UnsafeUnpin for CompactListCodec<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for CompactListCodec<T>where
T: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more