pub fn procedure_state_to_pb_state( state: &ProcedureState, ) -> (ProcedureStatus, String)
Cast the [ProcedureState] to protobuf [PbProcedureStatus].
ProcedureState
PbProcedureStatus