[][src]Enum paxos::Req

pub enum Req {
    Get(Vec<u8>),
    Del(Vec<u8>),
    Set(Vec<u8>, Vec<u8>),
    Cas(Vec<u8>, Option<Vec<u8>>, Option<Vec<u8>>),
}

Variants

Get(Vec<u8>)
Del(Vec<u8>)
Set(Vec<u8>, Vec<u8>)
Cas(Vec<u8>, Option<Vec<u8>>, Option<Vec<u8>>)

Trait Implementations

impl Clone for Req[src]

impl Debug for Req[src]

impl<'de> Deserialize<'de> for Req[src]

impl Eq for Req[src]

impl Ord for Req[src]

impl PartialEq<Req> for Req[src]

impl PartialOrd<Req> for Req[src]

impl Serialize for Req[src]

impl StructuralEq for Req[src]

impl StructuralPartialEq for Req[src]

Auto Trait Implementations

impl RefUnwindSafe for Req

impl Send for Req

impl Sync for Req

impl Unpin for Req

impl UnwindSafe for Req

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[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.