Trait N5PromiseReader

Source
pub trait N5PromiseReader {
    // Required methods
    fn get_version(&self) -> Promise;
    fn get_dataset_attributes(&self, path_name: &str) -> Promise;
    fn exists(&self, path_name: &str) -> Promise;
    fn dataset_exists(&self, path_name: &str) -> Promise;
    fn read_block(
        &self,
        path_name: &str,
        data_attrs: &DatasetAttributes,
        grid_position: Vec<i64>,
    ) -> Promise;
    fn list_attributes(&self, path_name: &str) -> Promise;
}

Required Methods§

Source

fn get_version(&self) -> Promise

Get the N5 specification version of the container.

Source

fn get_dataset_attributes(&self, path_name: &str) -> Promise

Source

fn exists(&self, path_name: &str) -> Promise

Source

fn dataset_exists(&self, path_name: &str) -> Promise

Source

fn read_block( &self, path_name: &str, data_attrs: &DatasetAttributes, grid_position: Vec<i64>, ) -> Promise

Source

fn list_attributes(&self, path_name: &str) -> Promise

Implementors§

Source§

impl<T> N5PromiseReader for T
where T: N5AsyncReader,