pub enum ReplicationClientDoneReceive<S, C> {
Message(Conn<S, CopyBothClientDone, C>, BackendReplication),
Done(Conn<S, AwaitingReady, C>),
Error(Conn<S, Draining, C>, ErrorResponse),
}Expand description
Typed walsender branch after the standby closes its sending half.
Variants§
Message(Conn<S, CopyBothClientDone, C>, BackendReplication)
One decoded backend replication message was received.
Done(Conn<S, AwaitingReady, C>)
The backend closed its half of the stream.
Error(Conn<S, Draining, C>, ErrorResponse)
Replication failed and entered drain-until-ready recovery.
Trait Implementations§
Auto Trait Implementations§
impl<S, C> !Freeze for ReplicationClientDoneReceive<S, C>
impl<S, C> RefUnwindSafe for ReplicationClientDoneReceive<S, C>where
S: RefUnwindSafe,
C: RefUnwindSafe,
impl<S, C> Send for ReplicationClientDoneReceive<S, C>
impl<S, C> Sync for ReplicationClientDoneReceive<S, C>
impl<S, C> Unpin for ReplicationClientDoneReceive<S, C>
impl<S, C> UnsafeUnpin for ReplicationClientDoneReceive<S, C>where
S: UnsafeUnpin,
impl<S, C> UnwindSafe for ReplicationClientDoneReceive<S, C>where
S: UnwindSafe,
C: UnwindSafe,
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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