pub enum BackendMiddlewareOutput {
Forward(BackendMessage),
Suppress(BackendMessage),
}Expand description
Result of asynchronously intercepting a PostgreSQL-originated message.
Variants§
Forward(BackendMessage)
Forward this owned message to the client.
Suppress(BackendMessage)
Consume the response after advancing protocol and pipeline state.
Trait Implementations§
Source§impl Debug for BackendMiddlewareOutput
impl Debug for BackendMiddlewareOutput
impl Eq for BackendMiddlewareOutput
Source§impl PartialEq for BackendMiddlewareOutput
impl PartialEq for BackendMiddlewareOutput
impl StructuralPartialEq for BackendMiddlewareOutput
Auto Trait Implementations§
impl !Freeze for BackendMiddlewareOutput
impl RefUnwindSafe for BackendMiddlewareOutput
impl Send for BackendMiddlewareOutput
impl Sync for BackendMiddlewareOutput
impl Unpin for BackendMiddlewareOutput
impl UnsafeUnpin for BackendMiddlewareOutput
impl UnwindSafe for BackendMiddlewareOutput
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