/// Resolve the CallTag with given status.
Resolve the CallTag with given status.
Resolve the CallTag with given status .
pub fn resolve(self, cq: &CompletionQueue, success: bool) {
        match self {
            CallTag::Batch(prom) => prom.resolve(success),
            CallTag::Request(cb) => cb.resolve(cq, success),
            CallTag::UnaryRequest(cb) => cb.resolve(cq, success),
            CallTag::Abort(_) => {}
            CallTag::Shutdown(prom) => prom.resolve(success),
            CallTag::Spawn(notify) => notify.resolve(success),
        }
    }
pub fn resolve ( self , cq : & CompletionQueue , success : bool ) { match self { CallTag :: Batch ( prom ) => prom . resolve ( success ) , CallTag :: Request ( cb ) => cb . resolve ( cq , success ) , CallTag :: UnaryRequest ( cb ) => cb . resolve ( cq , success ) , CallTag :: Abort ( _ ) => { } CallTag :: Shutdown ( prom ) => prom . resolve ( success ) , CallTag :: Spawn ( notify ) => notify . resolve ( success ) , } }
Resolve the CallTag with given status.
Resolve the CallTag with given status .
self
cq
&CompletionQueue
success
bool