Skip to main content

Dx

Trait Dx 

Source
pub trait Dx<'a, A, B, C: 'a>:
    Fn(&'a mut C, A) -> BorrowRec<'a, Result<B>>
    + Send
    + Sync
    + 'static { }

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§

Source§

impl<'a, A, B, C: 'a, T: Fn(&'a mut C, A) -> BorrowRec<'a, Result<B>> + Send + Sync + 'static> Dx<'a, A, B, C> for T