Trait general_storage_web::StorageFormat[][src]

pub trait StorageFormat {
    type SerializeError;
    type DeserializeError;
    fn to_vec<T>(value: &T) -> Result<Vec<u8, Global>, Self::SerializeError>
    where
        T: Serialize + ?Sized
;
fn from_slice<T>(v: &[u8]) -> Result<T, Self::DeserializeError>
    where
        T: DeserializeOwned
; }

Associated Types

Required methods

Implementors