Skip to main content

ValidMutBorrowIdempotenceFor

Trait ValidMutBorrowIdempotenceFor 

Source
pub trait ValidMutBorrowIdempotenceFor<F: FnMut(&In) -> Out, In: ?Sized, Out, R: Retries, const WAS_MUT: bool>: Sealed<F, In, Out, R, WAS_MUT> { }
Expand description

Marker trait for idempotence of closures that borrow their input (FnMut(&In) -> Out).

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§

Source§

impl<In: ?Sized, Out, F: Fn(&In) -> Out, R: Retries> ValidMutBorrowIdempotenceFor<F, In, Out, R, false> for NotProved

Source§

impl<In: ?Sized, Out, F: Fn(&In) -> Out, R: Retries> ValidMutBorrowIdempotenceFor<F, In, Out, R, false> for Proved

Source§

impl<In: ?Sized, Out, F: FnMut(&In) -> Out, R: Retries> ValidMutBorrowIdempotenceFor<F, In, Out, R, true> for Proved

Source§

impl<In: ?Sized, Out, F: FnMut(&In) -> Out> ValidMutBorrowIdempotenceFor<F, In, Out, ExactlyOnce, true> for NotProved