pub fn part<T: CompactPart>(&self, index: usize) -> Result<T, Error> {
        let part = self
            .parts
            .get(index)
            .ok_or_else(|| "Out of bounds".to_string())?;
        CompactPart::from_base64(part)
    }
/// Convenience function to retrieve a part at a certain index and decode into the type desired
Convenience function to retrieve a part at a certain index and decode into the type desired
Convenience function to retrieve a part at a certain index and decode into the type desired
pub fn part<T: CompactPart>(&self, index: usize) -> Result<T, Error> {
        let part = self
            .parts
            .get(index)
            .ok_or_else(|| "Out of bounds".to_string())?;
        CompactPart::from_base64(part)
    }
pub fn part < T : CompactPart > ( & self , index : usize ) -> Result < T , Error > { let part = self . parts . get ( index ) . ok_or_else ( | | " " . to_string ( ) ) ? ; CompactPart :: from_base64 ( part ) }
Convenience function to retrieve a part at a certain index and decode into the type desired
Convenience function to retrieve a part at a certain index and decode into the type desired
&self
index
usize
&self
index
usize