Struct etcd_client::TxnOp[][src]

#[repr(transparent)]
pub struct TxnOp(_);

Transaction operation.

Implementations

impl TxnOp[src]

pub fn put(
    key: impl Into<Vec<u8>>,
    value: impl Into<Vec<u8>>,
    options: Option<PutOptions>
) -> Self
[src]

Put operation.

pub fn get(key: impl Into<Vec<u8>>, options: Option<GetOptions>) -> Self[src]

Get operation.

pub fn delete(key: impl Into<Vec<u8>>, options: Option<DeleteOptions>) -> Self[src]

Delete operation.

pub fn txn(txn: Txn) -> Self[src]

Txn operation.

Trait Implementations

impl Clone for TxnOp[src]

impl Debug for TxnOp[src]

Auto Trait Implementations

impl RefUnwindSafe for TxnOp

impl Send for TxnOp

impl Sync for TxnOp

impl Unpin for TxnOp

impl UnwindSafe for TxnOp

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

impl<T> Instrument for T[src]

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

impl<T> IntoRequest<T> for 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.

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

impl<T> WithSubscriber for T[src]