Function thrift::protocol::verify_expected_service_call
source · pub fn verify_expected_service_call(expected: &str, actual: &str) -> Result<()>
Expand description
Compare the expected service-call name expected
with the received
service-call name actual
.
Return ()
if actual == expected
, Err
otherwise.