pub enum CopyOutTransition<S, C> {
Data(Conn<S, CopyOut, C>, Bytes),
Done(Conn<S, AwaitingReady, C>),
Error(Conn<S, Draining, C>, ErrorResponse),
}Expand description
Backend branch during COPY OUT.
Variants§
Data(Conn<S, CopyOut, C>, Bytes)
One chunk of copy data was received.
Done(Conn<S, AwaitingReady, C>)
The backend closed the copy stream.
Error(Conn<S, Draining, C>, ErrorResponse)
COPY failed and entered drain-until-ready recovery.
Trait Implementations§
Auto Trait Implementations§
impl<S, C> !Freeze for CopyOutTransition<S, C>
impl<S, C> RefUnwindSafe for CopyOutTransition<S, C>where
S: RefUnwindSafe,
C: RefUnwindSafe,
impl<S, C> Send for CopyOutTransition<S, C>
impl<S, C> Sync for CopyOutTransition<S, C>
impl<S, C> Unpin for CopyOutTransition<S, C>
impl<S, C> UnsafeUnpin for CopyOutTransition<S, C>where
S: UnsafeUnpin,
impl<S, C> UnwindSafe for CopyOutTransition<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