pub enum BackendState {
Starting,
Idle,
Running,
IdleInTransaction,
IdleInTransactionAborted,
Disabled,
}Expand description
The state of a session, BackendState of backend_status.h.
Variants§
Starting
The session started, and did not send ReadyForQuery yet.
Idle
The session waits for a statement.
Running
The session runs a statement.
IdleInTransaction
The session waits for a statement in a transaction block.
IdleInTransactionAborted
The session waits for the end of a failed transaction block.
Disabled
track_activities is off, so the session does not report its state.
Trait Implementations§
Source§impl Clone for BackendState
impl Clone for BackendState
impl Copy for BackendState
Source§impl Debug for BackendState
impl Debug for BackendState
Source§impl Default for BackendState
impl Default for BackendState
impl Eq for BackendState
Source§impl PartialEq for BackendState
impl PartialEq for BackendState
impl StructuralPartialEq for BackendState
Auto Trait Implementations§
impl Freeze for BackendState
impl RefUnwindSafe for BackendState
impl Send for BackendState
impl Sync for BackendState
impl Unpin for BackendState
impl UnsafeUnpin for BackendState
impl UnwindSafe for BackendState
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