pub fn alloc_index(&self) -> Result<u32> {
        // Rafs v6 only supports 256 blobs.
        u8::try_from(self.blobs.len())
            .map(|v| v as u32)
            .with_context(|| Error::msg("too many blobs"))
    }
/// Allocate a blob index sequentially.
///
/// This should be paired with Self::add() and keep in consistence.
Allocate a blob index sequentially.
This should be paired with Self::add() and keep in consistence.
Allocate a blob index sequentially . This should be paired with Self :: add () and keep in consistence .
pub fn alloc_index(&self) -> Result<u32> {
        // Rafs v6 only supports 256 blobs.
        u8::try_from(self.blobs.len())
            .map(|v| v as u32)
            .with_context(|| Error::msg("too many blobs"))
    }
pub fn alloc_index ( & self ) -> Result < u32 > { // Rafs v6 only supports 256 blobs. u8 :: try_from ( self . blobs . len ( ) ) . map ( | v | v as u32 ) . with_context ( | | Error :: msg ( " " ) ) }
Allocate a blob index sequentially.
Allocate a blob index sequentially .
&self
&self