[][src]Enum paxakos::Rejection

pub enum Rejection<C, E> {
    Conflict {
        coord_num: C,
    },
    Converged {
        coord_num: C,
        log_entry: Option<Arc<E>>,
    },
}

Rejection of a prepare request or a proposal.

Please refer to the description of the protocol.

Variants

Conflict

Fields of Conflict

coord_num: C
Converged

Fields of Converged

coord_num: Clog_entry: Option<Arc<E>>

Trait Implementations

impl<C: Clone, E: Clone> Clone for Rejection<C, E>[src]

impl<C: Debug, E: Debug> Debug for Rejection<C, E>[src]

impl<'de, C, E> Deserialize<'de> for Rejection<C, E> where
    C: Deserialize<'de>,
    E: Deserialize<'de>, 
[src]

impl<C, E> Serialize for Rejection<C, E> where
    C: Serialize,
    E: Serialize
[src]

Auto Trait Implementations

impl<C, E> RefUnwindSafe for Rejection<C, E> where
    C: RefUnwindSafe,
    E: RefUnwindSafe

impl<C, E> Send for Rejection<C, E> where
    C: Send,
    E: Send + Sync

impl<C, E> Sync for Rejection<C, E> where
    C: Sync,
    E: Send + Sync

impl<C, E> Unpin for Rejection<C, E> where
    C: Unpin

impl<C, E> UnwindSafe for Rejection<C, E> where
    C: UnwindSafe,
    E: RefUnwindSafe

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> Same<T> for T

type Output = T

Should always be Self

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>,