pub async fn chunk(&mut self) -> reqwest::Result<Option<Bytes>> {
        match &mut self.inner {
            BlobKind::Streaming(res) => res.chunk().await,
            BlobKind::Immediate(data) => Ok(data.take()),
        }
    }
/// Stream a chunk of the blob.
///
/// When the blob has been exhausted, this will return None.
Stream a chunk of the blob.
When the blob has been exhausted, this will return None.
Stream a chunk of the blob . When the blob has been exhausted this will return None .
pub async fn chunk(&mut self) -> reqwest::Result<Option<Bytes>> {
        match &mut self.inner {
            BlobKind::Streaming(res) => res.chunk().await,
            BlobKind::Immediate(data) => Ok(data.take()),
        }
    }
pub async fn chunk ( & mut self ) -> reqwest :: Result < Option < Bytes > > { match & mut self . inner { BlobKind :: Streaming ( res ) => res . chunk ( ) . await , BlobKind :: Immediate ( data ) => Ok ( data . take ( ) ) , } }
Stream a chunk of the blob.
Stream a chunk of the blob .
&mut self
&mut self