pub enum CleanlinessEvent {
TransactionStatus(TransactionStatus),
ParameterChanged {
name: Bytes,
value: Bytes,
},
Listen {
channel: Bytes,
},
Unlisten {
channel: Option<Bytes>,
},
AdvisoryLockAcquired,
AdvisoryLocksReleased,
PortalOpened {
name: Bytes,
},
PortalClosed {
name: Bytes,
},
StatementPrepared {
name: Bytes,
},
StatementClosed {
name: Bytes,
},
ResetComplete,
Application {
kind: Bytes,
detail: Bytes,
},
}Expand description
Observable facts which may affect whether an upstream connection is reusable.
Variants§
TransactionStatus(TransactionStatus)
The backend reported its current transaction state.
ParameterChanged
A reportable run-time parameter changed.
Listen
The session began listening on a notification channel.
Unlisten
The session stopped listening on one or all channels.
AdvisoryLockAcquired
The session acquired an advisory lock.
AdvisoryLocksReleased
The session released its advisory locks.
PortalOpened
A portal became live.
PortalClosed
A portal was closed.
StatementPrepared
A prepared statement became live.
StatementClosed
A prepared statement was closed.
ResetComplete
A reset operation restored the application’s clean baseline.
Application
Evidence from application-specific SQL inspection.
Trait Implementations§
Source§impl Clone for CleanlinessEvent
impl Clone for CleanlinessEvent
Source§fn clone(&self) -> CleanlinessEvent
fn clone(&self) -> CleanlinessEvent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CleanlinessEvent
impl Debug for CleanlinessEvent
impl Eq for CleanlinessEvent
Source§impl PartialEq for CleanlinessEvent
impl PartialEq for CleanlinessEvent
impl StructuralPartialEq for CleanlinessEvent
Auto Trait Implementations§
impl !Freeze for CleanlinessEvent
impl RefUnwindSafe for CleanlinessEvent
impl Send for CleanlinessEvent
impl Sync for CleanlinessEvent
impl Unpin for CleanlinessEvent
impl UnsafeUnpin for CleanlinessEvent
impl UnwindSafe for CleanlinessEvent
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