Skip to main content

SendRefApplicative

Trait SendRefApplicative 

Source
pub trait SendRefApplicative:
    SendRefPointed
    + SendRefSemiapplicative
    + SendRefApplyFirst
    + SendRefApplySecond { }
Expand description

A type that supports both thread-safe pure value injection (via reference) and thread-safe by-ref function application within a context.

This is the thread-safe counterpart of RefApplicative. Automatically implemented for any type implementing both SendRefPointed and SendRefSemiapplicative.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<Brand> SendRefApplicative for Brand

Blanket implementation of SendRefApplicative.

§Type Parameters
  • Brand: The brand type.