pub fn len(&self) -> Option<u64> {
        match &self.inner {
            BlobKind::Streaming(res) => res.content_length(),
            BlobKind::Immediate(data) => data.as_ref().map(|b| b.len() as u64),
        }
    }
/// Return the length of the blob, if known.
///
/// Reasons it may not be known
/// - The server didn't send a content-length header.
/// - The response is gzipped and automatically decoded (thus changing the
///   actual decoded length).
///
/// **NOTE:** this may be different from `descriptor().size`, as Blobs can
/// represent partial downloads!
Return the length of the blob, if known.
Reasons it may not be known
The server didn't send a content-length header.
The response is gzipped and automatically decoded (thus changing the
actual decoded length).

this may be different from `descriptor().size`, as Blobs can
represent partial downloads!
Return the length of the blob if known . Reasons it may not be known The server didn ' t send a content - length header . The response is gzipped and automatically decoded ( thus changing the actual decoded length ) . this may be different from ` descriptor () . size ` as Blobs can represent partial downloads!
pub fn len(&self) -> Option<u64> {
        match &self.inner {
            BlobKind::Streaming(res) => res.content_length(),
            BlobKind::Immediate(data) => data.as_ref().map(|b| b.len() as u64),
        }
    }
pub fn len ( & self ) -> Option < u64 > { match & self . inner { BlobKind :: Streaming ( res ) => res . content_length ( ) , BlobKind :: Immediate ( data ) => data . as_ref ( ) . map ( | b | b . len ( ) as u64 ) , } }
Return the length of the blob, if known.
Return the length of the blob if known .
&self
&self