Struct kvproto::deadlock::WaitForEntry[][src]

pub struct WaitForEntry {
    pub txn: u64,
    pub wait_for_txn: u64,
    pub key_hash: u64,
    pub key: Vec<u8>,
    pub resource_group_tag: Vec<u8>,
    pub wait_time: u64,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

txn: u64wait_for_txn: u64key_hash: u64key: Vec<u8>resource_group_tag: Vec<u8>wait_time: u64unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl WaitForEntry[src]

pub fn new() -> WaitForEntry[src]

pub fn get_txn(&self) -> u64[src]

pub fn clear_txn(&mut self)[src]

pub fn set_txn(&mut self, v: u64)[src]

pub fn get_wait_for_txn(&self) -> u64[src]

pub fn clear_wait_for_txn(&mut self)[src]

pub fn set_wait_for_txn(&mut self, v: u64)[src]

pub fn get_key_hash(&self) -> u64[src]

pub fn clear_key_hash(&mut self)[src]

pub fn set_key_hash(&mut self, v: u64)[src]

pub fn get_key(&self) -> &[u8][src]

pub fn clear_key(&mut self)[src]

pub fn set_key(&mut self, v: Vec<u8>)[src]

pub fn mut_key(&mut self) -> &mut Vec<u8>[src]

pub fn take_key(&mut self) -> Vec<u8>[src]

pub fn get_resource_group_tag(&self) -> &[u8][src]

pub fn clear_resource_group_tag(&mut self)[src]

pub fn set_resource_group_tag(&mut self, v: Vec<u8>)[src]

pub fn mut_resource_group_tag(&mut self) -> &mut Vec<u8>[src]

pub fn take_resource_group_tag(&mut self) -> Vec<u8>[src]

pub fn get_wait_time(&self) -> u64[src]

pub fn clear_wait_time(&mut self)[src]

pub fn set_wait_time(&mut self, v: u64)[src]

Trait Implementations

impl Clear for WaitForEntry[src]

impl Clone for WaitForEntry[src]

impl Debug for WaitForEntry[src]

impl Default for WaitForEntry[src]

impl<'a> Default for &'a WaitForEntry[src]

impl Message for WaitForEntry[src]

impl PartialEq<WaitForEntry> for WaitForEntry[src]

impl PbPrint for WaitForEntry[src]

impl ProtobufValue for WaitForEntry[src]

impl StructuralPartialEq for WaitForEntry[src]

Auto Trait Implementations

impl RefUnwindSafe for WaitForEntry

impl Send for WaitForEntry

impl Sync for WaitForEntry

impl Unpin for WaitForEntry

impl UnwindSafe for WaitForEntry

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<T> From<T> for T[src]

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

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

type Owned = T

The resulting type after obtaining ownership.

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.