View Source KafkaEx.Protocol.Kayrock.DeleteTopics.Response protocol (kafka_ex v1.0.0-rc.1)

Protocol for parsing DeleteTopics responses.

Summary

Types

t()

All the types that implement this protocol.

Functions

Parses a DeleteTopics response into a DeleteTopics struct.

Types

@type t() :: term()

All the types that implement this protocol.

Functions

Link to this function

parse_response(response)

View Source
@spec parse_response(t()) ::
  {:ok, KafkaEx.Messages.DeleteTopics.t()} | {:error, KafkaEx.Client.Error.t()}

Parses a DeleteTopics response into a DeleteTopics struct.