/// Get the batch context from result holder.
Get the batch context from result holder.
Get the batch context from result holder .
pub fn batch_ctx(&self) -> Option<&BatchContext> {
        match *self {
            CallTag::Batch(ref prom) => Some(prom.context()),
            CallTag::UnaryRequest(ref cb) => Some(cb.batch_ctx()),
            CallTag::Abort(ref cb) => Some(cb.batch_ctx()),
            _ => None,
        }
    }
pub fn batch_ctx ( & self ) -> Option < & BatchContext > { match * self { CallTag :: Batch ( ref prom ) => Some ( prom . context ( ) ) , CallTag :: UnaryRequest ( ref cb ) => Some ( cb . batch_ctx ( ) ) , CallTag :: Abort ( ref cb ) => Some ( cb . batch_ctx ( ) ) , _ => None , } }
Get the batch context from result holder.
Get the batch context from result holder .
&self