pub enum ReplicationMode {
SnapshotAndCdc,
CdcOnly,
}Variants§
SnapshotAndCdc
Initial snapshot followed by continuous CDC (default).
CdcOnly
Reserved. Rejected by validation: pgsync cannot prove that an existing target copy is consistent with a freshly created slot, so there is no safe way to skip the snapshot.
Trait Implementations§
Source§impl Clone for ReplicationMode
impl Clone for ReplicationMode
impl Copy for ReplicationMode
Source§impl Debug for ReplicationMode
impl Debug for ReplicationMode
Source§impl<'de> Deserialize<'de> for ReplicationMode
impl<'de> Deserialize<'de> for ReplicationMode
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ReplicationMode
Source§impl PartialEq for ReplicationMode
impl PartialEq for ReplicationMode
Source§impl Serialize for ReplicationMode
impl Serialize for ReplicationMode
impl StructuralPartialEq for ReplicationMode
Auto Trait Implementations§
impl Freeze for ReplicationMode
impl RefUnwindSafe for ReplicationMode
impl Send for ReplicationMode
impl Sync for ReplicationMode
impl Unpin for ReplicationMode
impl UnsafeUnpin for ReplicationMode
impl UnwindSafe for ReplicationMode
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.