Struct kvproto::kvrpcpb::KeyError[][src]

pub struct KeyError {
    pub locked: SingularPtrField<LockInfo>,
    pub retryable: String,
    pub abort: String,
    pub conflict: SingularPtrField<WriteConflict>,
    pub already_exist: SingularPtrField<AlreadyExist>,
    pub deadlock: SingularPtrField<Deadlock>,
    pub commit_ts_expired: SingularPtrField<CommitTsExpired>,
    pub txn_not_found: SingularPtrField<TxnNotFound>,
    pub commit_ts_too_large: SingularPtrField<CommitTsTooLarge>,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

locked: SingularPtrField<LockInfo>retryable: Stringabort: Stringconflict: SingularPtrField<WriteConflict>already_exist: SingularPtrField<AlreadyExist>deadlock: SingularPtrField<Deadlock>commit_ts_expired: SingularPtrField<CommitTsExpired>txn_not_found: SingularPtrField<TxnNotFound>commit_ts_too_large: SingularPtrField<CommitTsTooLarge>unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl KeyError[src]

pub fn new() -> KeyError[src]

pub fn get_locked(&self) -> &LockInfo[src]

pub fn clear_locked(&mut self)[src]

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

pub fn set_locked(&mut self, v: LockInfo)[src]

pub fn mut_locked(&mut self) -> &mut LockInfo[src]

pub fn take_locked(&mut self) -> LockInfo[src]

pub fn get_retryable(&self) -> &str[src]

pub fn clear_retryable(&mut self)[src]

pub fn set_retryable(&mut self, v: String)[src]

pub fn mut_retryable(&mut self) -> &mut String[src]

pub fn take_retryable(&mut self) -> String[src]

pub fn get_abort(&self) -> &str[src]

pub fn clear_abort(&mut self)[src]

pub fn set_abort(&mut self, v: String)[src]

pub fn mut_abort(&mut self) -> &mut String[src]

pub fn take_abort(&mut self) -> String[src]

pub fn get_conflict(&self) -> &WriteConflict[src]

pub fn clear_conflict(&mut self)[src]

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

pub fn set_conflict(&mut self, v: WriteConflict)[src]

pub fn mut_conflict(&mut self) -> &mut WriteConflict[src]

pub fn take_conflict(&mut self) -> WriteConflict[src]

pub fn get_already_exist(&self) -> &AlreadyExist[src]

pub fn clear_already_exist(&mut self)[src]

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

pub fn set_already_exist(&mut self, v: AlreadyExist)[src]

pub fn mut_already_exist(&mut self) -> &mut AlreadyExist[src]

pub fn take_already_exist(&mut self) -> AlreadyExist[src]

pub fn get_deadlock(&self) -> &Deadlock[src]

pub fn clear_deadlock(&mut self)[src]

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

pub fn set_deadlock(&mut self, v: Deadlock)[src]

pub fn mut_deadlock(&mut self) -> &mut Deadlock[src]

pub fn take_deadlock(&mut self) -> Deadlock[src]

pub fn get_commit_ts_expired(&self) -> &CommitTsExpired[src]

pub fn clear_commit_ts_expired(&mut self)[src]

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

pub fn set_commit_ts_expired(&mut self, v: CommitTsExpired)[src]

pub fn mut_commit_ts_expired(&mut self) -> &mut CommitTsExpired[src]

pub fn take_commit_ts_expired(&mut self) -> CommitTsExpired[src]

pub fn get_txn_not_found(&self) -> &TxnNotFound[src]

pub fn clear_txn_not_found(&mut self)[src]

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

pub fn set_txn_not_found(&mut self, v: TxnNotFound)[src]

pub fn mut_txn_not_found(&mut self) -> &mut TxnNotFound[src]

pub fn take_txn_not_found(&mut self) -> TxnNotFound[src]

pub fn get_commit_ts_too_large(&self) -> &CommitTsTooLarge[src]

pub fn clear_commit_ts_too_large(&mut self)[src]

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

pub fn set_commit_ts_too_large(&mut self, v: CommitTsTooLarge)[src]

pub fn mut_commit_ts_too_large(&mut self) -> &mut CommitTsTooLarge[src]

pub fn take_commit_ts_too_large(&mut self) -> CommitTsTooLarge[src]

Trait Implementations

impl Clear for KeyError[src]

impl Clone for KeyError[src]

impl Debug for KeyError[src]

impl Default for KeyError[src]

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

impl Message for KeyError[src]

impl PartialEq<KeyError> for KeyError[src]

impl PbPrint for KeyError[src]

impl ProtobufValue for KeyError[src]

impl StructuralPartialEq for KeyError[src]

Auto Trait Implementations

impl RefUnwindSafe for KeyError

impl Send for KeyError

impl Sync for KeyError

impl Unpin for KeyError

impl UnwindSafe for KeyError

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.