Struct kvproto::kvrpcpb::Deadlock[][src]

pub struct Deadlock {
    pub lock_ts: u64,
    pub lock_key: Vec<u8>,
    pub deadlock_key_hash: u64,
    pub wait_chain: RepeatedField<WaitForEntry>,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

lock_ts: u64lock_key: Vec<u8>deadlock_key_hash: u64wait_chain: RepeatedField<WaitForEntry>unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl Deadlock[src]

pub fn new() -> Deadlock[src]

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

pub fn clear_lock_ts(&mut self)[src]

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

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

pub fn clear_lock_key(&mut self)[src]

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

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

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

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

pub fn clear_deadlock_key_hash(&mut self)[src]

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

pub fn get_wait_chain(&self) -> &[WaitForEntry][src]

pub fn clear_wait_chain(&mut self)[src]

pub fn set_wait_chain(&mut self, v: RepeatedField<WaitForEntry>)[src]

pub fn mut_wait_chain(&mut self) -> &mut RepeatedField<WaitForEntry>[src]

pub fn take_wait_chain(&mut self) -> RepeatedField<WaitForEntry>[src]

Trait Implementations

impl Clear for Deadlock[src]

impl Clone for Deadlock[src]

impl Debug for Deadlock[src]

impl Default for Deadlock[src]

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

impl Message for Deadlock[src]

impl PartialEq<Deadlock> for Deadlock[src]

impl PbPrint for Deadlock[src]

impl ProtobufValue for Deadlock[src]

impl StructuralPartialEq for Deadlock[src]

Auto Trait Implementations

impl RefUnwindSafe for Deadlock

impl Send for Deadlock

impl Sync for Deadlock

impl Unpin for Deadlock

impl UnwindSafe for Deadlock

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.