pub fn message_by_leaf_index(
        &self,
        index: u32,
    ) -> Result<Option<RawCommittedMessage>, DbError> {
        let leaf: Option<H256> = self.leaf_by_leaf_index(index)?;
        match leaf {
            None => Ok(None),
            Some(leaf) => self.message_by_leaf(leaf),
        }
    }
/// Retrieve a raw committed message by its leaf index
Retrieve a raw committed message by its leaf index
Retrieve a raw committed message by its leaf index
pub fn message_by_leaf_index(
        &self,
        index: u32,
    ) -> Result<Option<RawCommittedMessage>, DbError> {
        let leaf: Option<H256> = self.leaf_by_leaf_index(index)?;
        match leaf {
            None => Ok(None),
            Some(leaf) => self.message_by_leaf(leaf),
        }
    }
pub fn message_by_leaf_index ( & self , index : u32 , ) -> Result < Option < RawCommittedMessage > , DbError > { let leaf : Option < H256 > = self . leaf_by_leaf_index ( index ) ? ; match leaf { None => Ok ( None ) , Some ( leaf ) => self . message_by_leaf ( leaf ) , } }
Retrieve a raw committed message by its leaf index
Retrieve a raw committed message by its leaf index
&self
index
u32
&self
index
u32