[][src]Struct paxakos::Promise

pub struct Promise<R, C, E>(_);

A promise not to accept certain proposals anymore.

Please refer to the description of the protocol.

Trait Implementations

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

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

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

impl<R, C, E> IntoIterator for Promise<R, C, E> where
    R: RoundNum,
    C: CoordNum,
    E: LogEntry
[src]

type Item = (R, C, Arc<E>)

The type of the elements being iterated over.

type IntoIter = IntoIter<Self::Item>

Which kind of iterator are we turning this into?

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

Auto Trait Implementations

impl<R, C, E> RefUnwindSafe for Promise<R, C, E> where
    C: RefUnwindSafe,
    E: RefUnwindSafe,
    R: RefUnwindSafe

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

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

impl<R, C, E> Unpin for Promise<R, C, E> where
    C: Unpin,
    R: Unpin

impl<R, C, E> UnwindSafe for Promise<R, C, E> where
    C: UnwindSafe,
    E: RefUnwindSafe,
    R: UnwindSafe

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<I> IntoIterator for I where
    I: Iterator
[src]

type Item = <I as Iterator>::Item

The type of the elements being iterated over.

type IntoIter = I

Which kind of iterator are we turning this into?

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