[][src]Enum paxakos::ShutdownEvent

pub enum ShutdownEvent<S: State, R: RoundNum, C: CoordNum> {
    Regular(Event<S, R>),
    Last {
        snapshot: Option<Snapshot<S, R, C>>,
    },
}

Emitted by Shutdown's poll_shutdown method.

Variants

Regular(Event<S, R>)
Last
Non-exhaustive enum variants could have additional fields added in future. Therefore, non-exhaustive enum variants cannot be constructed in external crates and cannot be matched against.

Fields of Last

snapshot: Option<Snapshot<S, R, C>>

Trait Implementations

impl<S: Debug + State, R: Debug + RoundNum, C: Debug + CoordNum> Debug for ShutdownEvent<S, R, C>[src]

Auto Trait Implementations

impl<S, R, C> RefUnwindSafe for ShutdownEvent<S, R, C> where
    C: RefUnwindSafe,
    R: RefUnwindSafe,
    S: RefUnwindSafe,
    <S as State>::Event: RefUnwindSafe,
    <S as State>::LogEntry: RefUnwindSafe

impl<S, R, C> Send for ShutdownEvent<S, R, C> where
    <S as State>::Event: Send,
    <S as State>::LogEntry: Send + Sync

impl<S, R, C> Sync for ShutdownEvent<S, R, C> where
    <S as State>::Event: Sync,
    <S as State>::LogEntry: Send + Sync

impl<S, R, C> Unpin for ShutdownEvent<S, R, C> where
    <S as State>::Event: Unpin

impl<S, R, C> UnwindSafe for ShutdownEvent<S, R, C> where
    C: RefUnwindSafe,
    R: RefUnwindSafe + UnwindSafe,
    S: RefUnwindSafe,
    <S as State>::Event: UnwindSafe,
    <S as State>::LogEntry: 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> 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, 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>,