Movatterモバイル変換


[0]ホーム

URL:


Docs.rs

[][src]Enumpostgres::IsolationLevel

#[non_exhaustive]pub enum IsolationLevel {    ReadUncommitted,    ReadCommitted,    RepeatableRead,    Serializable,}

The isolation level of a database transaction.

Variants (Non-exhaustive)

Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
ReadUncommitted

Equivalent toReadCommitted.

ReadCommitted

An individual statement in the transaction will see rows committed before it began.

RepeatableRead

All statements in the transaction will see the same view of rows committed before the first query in thetransaction.

Serializable

The reads and writes in this transaction must be able to be committed as an atomic "unit" with respect to readsand writes of all other concurrent serializable transactions without interleaving.

Trait Implementations

implClone forIsolationLevel[src]

fnclone(&self) ->IsolationLevel[src]

fnclone_from(&mut self, source:&Self)1.0.0[src]

implCopy forIsolationLevel[src]

implDebug forIsolationLevel[src]

fnfmt(&self, f: &mutFormatter) ->Result<(),Error>[src]

Auto Trait Implementations

Blanket Implementations

impl<T>Any for Twhere
    T: 'static + ?Sized
[src]

fntype_id(&self) ->TypeId[src]

impl<T>Borrow<T> for Twhere
    T: ?Sized
[src]

fnborrow(&self) ->&T[src]

impl<T>BorrowMut<T> for Twhere
    T: ?Sized
[src]

fnborrow_mut(&mut self) ->&mutT[src]

impl<T>From<T> for T[src]

fnfrom(t: T) -> T[src]

impl<T, U>Into<U> for Twhere
    U:From<T>, 
[src]

fninto(self) -> U[src]

impl<T> Same<T> for T

typeOutput = T

Should always beSelf

impl<T>ToOwned for Twhere
    T:Clone
[src]

typeOwned = T

The resulting type after obtaining ownership.

fnto_owned(&self) -> T[src]

fnclone_into(&self, target:&mutT)[src]

impl<T, U>TryFrom<U> for Twhere
    U:Into<T>, 
[src]

typeError =Infallible

The type returned in the event of a conversion error.

fntry_from(value: U) ->Result<T, <T asTryFrom<U>>::Error>[src]

impl<T, U>TryInto<U> for Twhere
    U:TryFrom<T>, 
[src]

typeError = <U asTryFrom<T>>::Error

The type returned in the event of a conversion error.

fntry_into(self) ->Result<U, <U asTryFrom<T>>::Error>[src]

impl<V, T> VZip<V> for Twhere
    V: MultiLane<T>, 

fnvzip(self) -> V


[8]ページ先頭

©2009-2025 Movatter.jp