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

Required Methods

Return UUID object identifier

Return Template UUID

Return Container that contains the Storage.

Errors

Return Storage data

Update Storage data

Implementors