/// Return the approximate memory size of the metadata, in bytes.
///
/// This includes `Self`.
Return the approximate memory size of the metadata, in bytes.
This includes `Self`.
Return the approximate memory size of the metadata in bytes . This includes ` Self ` .
pub fn size(&self) -> usize {
        std::mem::size_of::<Self>()
            + self
                .span_ctx
                .as_ref()
                .map(|ctx| ctx.size())
                .unwrap_or_default()
            - self
                .span_ctx
                .as_ref()
                .map(|_| std::mem::size_of::<SpanContext>())
                .unwrap_or_default()
    }
pub fn size ( & self ) -> usize { std :: mem :: size_of :: < Self > ( ) + self . span_ctx . as_ref ( ) . map ( | ctx | ctx . size ( ) ) . unwrap_or_default ( ) - self . span_ctx . as_ref ( ) . map ( | _ | std :: mem :: size_of :: < SpanContext > ( ) ) . unwrap_or_default ( ) }
Return the approximate memory size of the metadata, in bytes.
Return the approximate memory size of the metadata in bytes .
&self