Struct etcd_client::TxnOp [−][src]
#[repr(transparent)]pub struct TxnOp(_);
Transaction operation.
Implementations
impl TxnOp[src]
impl TxnOp[src]pub fn put(
key: impl Into<Vec<u8>>,
value: impl Into<Vec<u8>>,
options: Option<PutOptions>
) -> Self[src]
key: impl Into<Vec<u8>>,
value: impl Into<Vec<u8>>,
options: Option<PutOptions>
) -> Self
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
Auto Trait Implementations
impl RefUnwindSafe for TxnOp
impl RefUnwindSafe for TxnOpimpl UnwindSafe for TxnOp
impl UnwindSafe for TxnOpBlanket Implementations
impl<T> Instrument for T[src]
impl<T> Instrument for T[src]pub fn instrument(self, span: Span) -> Instrumented<Self>[src]
pub fn in_current_span(self) -> Instrumented<Self>[src]
impl<T> Instrument for T[src]
impl<T> Instrument for T[src]pub fn instrument(self, span: Span) -> Instrumented<Self>[src]
pub fn in_current_span(self) -> Instrumented<Self>[src]
impl<T> IntoRequest<T> for T[src]
impl<T> IntoRequest<T> for T[src]pub fn into_request(self) -> Request<T>[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>, pub fn vzip(self) -> V
impl<T> WithSubscriber for T[src]
impl<T> WithSubscriber for T[src]pub fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>, [src]
S: Into<Dispatch>,