Module fntype

Source
Expand description

Function type definitions and wrappers for the rustica library.

This module provides various function type definitions and wrappers that are used throughout the library to ensure proper type safety, thread safety, and debugging capabilities. It includes:

  • Send + Sync function wrappers
  • Async function types
  • Function types for monadic operations
  • Function types for applicative operations
  • Function types for contravariant functor operations
  • Function types for comonadic operations

Structs§

DebugFn
A function that implements Debug
MonoidFn
A monoid for functions that return a monoid.
SendSyncFn
A function that is both Send and Sync

Traits§

ApplyFn
A trait for functions that can be used in apply operations
AsyncFn
A trait for functions that return a BoxFuture
BindFn
A trait for functions that can be used in bind operations
ContravariantFn
A trait for functions that can be used in contravariant functor operations
ExtendFn
A trait for functions that can be used in extend operations
MonadFn
A trait for functions that can be used in monadic operations
SendSyncFnTrait
A trait for functions that are Send + Sync