FloBlobPage

Type Alias FloBlobPage 

Source
pub type FloBlobPage = FloWrapper<BlobPage>;

Aliased Type§

pub struct FloBlobPage { /* private fields */ }

Implementations§

Source§

impl FloBlobPage

Source

pub fn new( realm: RealmID, cond: Condition, path: &str, index: Bytes, parent: Option<BlobID>, signers: &[&Signer], ) -> Result<Self>

Source

pub fn new_cuckoo( realm: RealmID, cond: Condition, path: &str, index: Bytes, parent: Option<BlobID>, cuckoo: Cuckoo, signers: &[&Signer], ) -> Result<Self>

Source

pub fn get_index(&self) -> String

Source

pub fn blob_id(&self) -> BlobID

Trait Implementations§

Source§

impl BlobAccess for FloBlobPage

Source§

fn get_blob(&self) -> &Blob

Source§

fn get_blob_mut(&mut self) -> &mut Blob

Source§

fn values(&self) -> &HashMap<String, String>

Source§

fn datas(&self) -> &HashMap<String, Bytes>

Source§

fn get_data(&self, key: &str) -> Option<&Bytes>

Source§

fn set_data(&mut self, key: String, value: Bytes)

Source§

fn values_mut(&mut self) -> &mut HashMap<String, String>

Source§

fn datas_mut(&mut self) -> &mut HashMap<String, Bytes>

Source§

impl BlobFamily for FloBlobPage

Source§

fn set_parents(&mut self, parents: Vec<BlobID>)

Source§

fn add_parent(&mut self, parent: BlobID)

Source§

fn rm_parent(&mut self, parent: &BlobID)

Source§

fn get_parents(&self) -> Vec<BlobID>

Source§

fn set_children(&mut self, children: Vec<BlobID>)

Source§

fn add_child(&mut self, child: BlobID)

Source§

fn rm_child(&mut self, child: &BlobID)

Source§

fn get_children(&self) -> Vec<BlobID>

Source§

impl BlobPath for FloBlobPage

Source§

fn set_path(&mut self, path: String)

Source§

fn get_path(&self) -> Option<&String>

Source§

impl Display for FloBlobPage

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more