pub trait StrictSerialize: StrictEncode {
    // Provided methods
    fn strict_serialized_len(&self) -> Result<usize> { ... }
    fn to_strict_serialized<const MAX: usize>(
        &self
    ) -> Result<Confined<Vec<u8>, 0, MAX>, SerializeError> { ... }
    fn strict_serialize_to_file<const MAX: usize>(
        &self,
        path: impl AsRef<Path>
    ) -> Result<(), SerializeError> { ... }
}

Provided Methods§

Object Safety§

This trait is not object safe.

Implementors§