final RetryConfig<O> mappedRetryConfig(ClientRequestContext ctx) {
        @SuppressWarnings("unchecked")
        final RetryConfig<O> config = (RetryConfig<O>) state(ctx).config;
        return config;
    }
Fetches the {@link RetryConfig} that was mapped by the configured {@link RetryConfigMapping} for a given
logical request.
core/src/main/java/com/linecorp/armeria/client/retry/AbstractRetryingClient.java