AsRaw

halotukozak.mrpc.conv.AsRaw
See theAsRaw companion trait
object AsRaw

Attributes

Companion
trait
Source
AsRaw.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
AsRaw.type

Members list

Value members

Concrete methods

def apply[Raw, Real](using instance: AsRaw[Raw, Real]): AsRaw[Raw, Real]

Attributes

Source
AsRaw.scala
def makeLazy[Raw, Real](conv: => AsRaw[Raw, Real]): AsRaw[Raw, Real]

By-name wrapper that defers construction of the underlying conversion until first use. Breaks self/mutually-referential sub-RPC cycles: the recursive adapter is forced lazily at runtime, not re-derived during macro expansion. Mirrors mcodec MCodec.makeLazy.

By-name wrapper that defers construction of the underlying conversion until first use. Breaks self/mutually-referential sub-RPC cycles: the recursive adapter is forced lazily at runtime, not re-derived during macro expansion. Mirrors mcodec MCodec.makeLazy.

Attributes

Source
AsRaw.scala

Givens

Givens

given forFuture: [Raw, Real] => (AsRaw[Raw, Real], ExecutionContext) => AsRaw[Future[Raw], Future[Real]]

Attributes

Source
AsRaw.scala
given forTry: [Raw, Real] => AsRaw[Raw, Real] => AsRaw[Try[Raw], Try[Real]]

Attributes

Source
AsRaw.scala
given identity: [A] => AsRaw[A, A]

Attributes

Source
AsRaw.scala

Inherited givens

given fromFallback: [Raw, Real] => Fallback[AsRaw[Raw, Real]] => AsRaw[Raw, Real]

Attributes

Inherited from:
AsRawLowPrio (hidden)
Source
AsRaw.scala