TopicNameEncoder

lepus.std.TopicNameEncoder
See theTopicNameEncoder companion object
final class TopicNameEncoder[A](build: A => String) extends AnyVal

Encoder that encodes types to a lepus.std.TopicName

Note that this is not a typeclass and it is not used in implicit scope and there are no instances of it.

Attributes

Companion
object
Source
TopicNameEncoder.scala
Graph
Supertypes
class AnyVal
trait Matchable
class Any

Members list

Value members

Concrete methods

def contramap[B](f: B => A): TopicNameEncoder[B]

Attributes

Source
TopicNameEncoder.scala
def get: A => Either[String, TopicName]

Attributes

Source
TopicNameEncoder.scala
def prefixed(prefix: String): TopicNameEncoder[A]

Attributes

Source
TopicNameEncoder.scala
def transform(f: String => String): TopicNameEncoder[A]

Attributes

Source
TopicNameEncoder.scala