pub trait IStorage {
    fn uuid(&self) -> Uuid;
    fn template_uuid(&self) -> Option<Uuid>;
    fn container(&self) -> CatlibResult<Container>;
    fn data(&self) -> Vec<u8>;
    fn update(&mut self, data: Vec<u8>) -> CatlibResult<Storage>;
}

Required Methods

Return UUID object identifier

Return Template UUID

Return Container that contains the Storage.

Errors

Return Storage data

Update Storage data

Implementors