[][src]Trait rectangle_device_blocks::package::Package

pub trait Package {
    type BlockIterator: Iterator<Item = Block>;
    fn cid(&self) -> &Cid;
fn total_size(&self) -> u64;
fn into_blocks(self) -> Self::BlockIterator; fn link(&self, name: String) -> PbLink { ... } }

Associated Types

Loading content...

Required methods

fn cid(&self) -> &Cid

fn total_size(&self) -> u64

fn into_blocks(self) -> Self::BlockIterator

Loading content...

Provided methods

Loading content...

Implementors

impl Package for DirectoryBlock[src]

type BlockIterator = Once<Block>

impl Package for MultiRawBlockFile[src]

impl Package for RawBlockFile[src]

type BlockIterator = Once<Block>

Loading content...