Struct tikv::storage::txn::commands::ReleasedLocks[][src]

pub(super) struct ReleasedLocks {
    start_ts: TimeStamp,
    commit_ts: TimeStamp,
    hashes: Vec<u64>,
    pessimistic: bool,
}

Fields

start_ts: TimeStampcommit_ts: TimeStamphashes: Vec<u64>pessimistic: bool

Implementations

impl ReleasedLocks[src]

pub fn new(start_ts: TimeStamp, commit_ts: TimeStamp) -> Self[src]

pub fn push(&mut self, lock: Option<ReleasedLock>)[src]

pub fn is_empty(&self) -> bool[src]

pub fn wake_up<L: LockManager>(self, lock_mgr: &L)[src]

Trait Implementations

impl Default for ReleasedLocks[src]

Auto Trait Implementations

impl RefUnwindSafe for ReleasedLocks

impl Send for ReleasedLocks

impl Sync for ReleasedLocks

impl Unpin for ReleasedLocks

impl UnwindSafe for ReleasedLocks

Blanket Implementations

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

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

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

impl<V, W> ConvertFrom<W> for V where
    W: ConvertTo<V>, 
[src]

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

impl<T> Instrument for T[src]

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

impl<T> Pointable for T[src]

type Init = T

The type for initializers.

impl<T> Pointable for T[src]

type Init = T

The type for initializers.

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

type Output = T

Should always be Self

impl<T> Sealed<T> for T where
    T: ?Sized
[src]

impl<T> SendSyncUnwindSafe for T where
    T: Send + Sync + UnwindSafe + ?Sized
[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]