Trait AtomicOperation

Source
pub trait AtomicOperation: Send {
    // Required method
    fn as_executor(&mut self) -> &mut PgConnection;

    // Provided method
    fn now(&self) -> Option<DateTime<Utc>> { ... }
}

Required Methods§

Source

fn as_executor(&mut self) -> &mut PgConnection

Provided Methods§

Source

fn now(&self) -> Option<DateTime<Utc>>

Implementations on Foreign Types§

Source§

impl<'c> AtomicOperation for PgTransaction<'c>

Source§

fn as_executor(&mut self) -> &mut PgConnection

Implementors§