pub enum TransferPoll {
Failed = 0,
Bootstrapping = 1,
Bootstrapped = 2,
WaitingForInput = 3,
Transferring = 4,
Success = 5,
}Expand description
A transfer’s state, in the order it advances. The values are the wire encoding of the P/D status messages and of the replica’s MIN agreement.
Variants§
Failed = 0
The transfer failed; sticky.
Bootstrapping = 1
The peers are connecting.
Bootstrapped = 2
The peers are connected.
WaitingForInput = 3
Decode: the manifest went out; waiting for the KV.
Transferring = 4
Unused: a transfer is not observed mid-flight.
Success = 5
The KV arrived (or left, on Prefill).
Implementations§
Trait Implementations§
Source§impl Clone for TransferPoll
impl Clone for TransferPoll
impl Copy for TransferPoll
Source§impl Debug for TransferPoll
impl Debug for TransferPoll
impl Eq for TransferPoll
Source§impl Hash for TransferPoll
impl Hash for TransferPoll
Source§impl Ord for TransferPoll
impl Ord for TransferPoll
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for TransferPoll
impl PartialEq for TransferPoll
Source§impl PartialOrd for TransferPoll
impl PartialOrd for TransferPoll
impl StructuralPartialEq for TransferPoll
Auto Trait Implementations§
impl Freeze for TransferPoll
impl RefUnwindSafe for TransferPoll
impl Send for TransferPoll
impl Sync for TransferPoll
impl Unpin for TransferPoll
impl UnsafeUnpin for TransferPoll
impl UnwindSafe for TransferPoll
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compares
self with key and returns true if they are equal.