[−][src]Enum pgx::callbacks::PgXactCallbackEvent
Postgres Transaction (Xact) Callback Events
Variants
Fired when a transaction is aborted. It is mutually exclusive with PgXactCallbackEvent::Commit
Safety
Any kind of Rust panic!()
or Postgres ereport(ERROR)
while this event is firing will
cause the Postgres backend to abort.
Fired when a transcation is committed. It is mutually exclusive with PgXactCallbackEvent::Abort
Safety
Any kind of Rust panic!()
or Postgres ereport(ERROR)
while this event is firing will
cause the Postgres backend to abort.
Fired immediately before the transaction is committed. This is your last chance to cleanly
abort the current transaction via a Rust panic!()
or Postgres ereport(ERROR)
Same as ::Abort
, but for parallel workers
Same as ::Commit
, but for parallel workers
Same as ::PreCommit
, but for parallel workers
Same as ::Commit
, but for committing a prepared transaction
Same as ::PreCommit
, but for committing a prepared transaction
Trait Implementations
impl Clone for PgXactCallbackEvent
[src]
fn clone(&self) -> PgXactCallbackEvent
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for PgXactCallbackEvent
[src]
impl Eq for PgXactCallbackEvent
[src]
impl Hash for PgXactCallbackEvent
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl PartialEq<PgXactCallbackEvent> for PgXactCallbackEvent
[src]
fn eq(&self, other: &PgXactCallbackEvent) -> bool
[src]
#[must_use]fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralEq for PgXactCallbackEvent
[src]
impl StructuralPartialEq for PgXactCallbackEvent
[src]
Auto Trait Implementations
impl RefUnwindSafe for PgXactCallbackEvent
impl Send for PgXactCallbackEvent
impl Sync for PgXactCallbackEvent
impl Unpin for PgXactCallbackEvent
impl UnwindSafe for PgXactCallbackEvent
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Sealed<T> for T where
T: ?Sized,
T: ?Sized,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,