Skip to main content

ReplicationProjection

Type Alias ReplicationProjection 

Source
pub type ReplicationProjection<S, C> = Result<ReplicationReceive<S, C>, (Conn<S, CopyBoth, C>, Error)>;
Expand description

Replication projection preserving the connection when decoding fails.

Aliased Type§

pub enum ReplicationProjection<S, C> {
    Ok(ReplicationReceive<S, C>),
    Err((Conn<S, CopyBoth, C>, Error)),
}

Variants§

§1.0.0

Ok(ReplicationReceive<S, C>)

Contains the success value

§1.0.0

Err((Conn<S, CopyBoth, C>, Error))

Contains the error value