Skip to main content

HKT

Trait HKT 

Source
pub trait HKT<A, B> {
    type URI;
    type Target;
}

Required Associated Types§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<A, B, E> HKT<A, B> for Result<A, E>

Source§

type URI = Result<A, E>

Source§

type Target = Result<B, E>

Source§

impl<A, B> HKT<A, B> for Option<A>

Implementors§