Skip to main content

IntoReplay

Trait IntoReplay 

Source
pub trait IntoReplay<'a, E, S> {
    // Required method
    fn into_replay(self) -> Replay<'a, E, S>;
}
Expand description

Normalises idempotency_guard! input: a plain &E stream (today’s call sites) and a replay() stream both become Replay. Do not implement for other types.

Required Methods§

Source

fn into_replay(self) -> Replay<'a, E, S>

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, E> IntoReplay<'a, E, NoSnapshot> for &'a E

Implementors§

Source§

impl<'a, E, S> IntoReplay<'a, E, S> for Replay<'a, E, S>