pub enum OperationPhase {
WaitingForCapacity,
Prepared,
Queued,
Writing,
AwaitingResponse,
Finished,
}Expand description
Current operation phase; does not itself prove peer delivery.
Variants§
WaitingForCapacity
Waiting for bounded send capacity or event capacity.
Prepared
Capacity is reserved; submission is required before writing can begin.
Queued
Submitted and queued for writing, including requeued retries.
Writing
Writer is processing; this phase alone proves no bytes were sent.
AwaitingResponse
A tracked request is waiting for its final protocol response.
Finished
A success or failure has become the operation’s sole terminal result.
Trait Implementations§
Source§impl Clone for OperationPhase
impl Clone for OperationPhase
impl Copy for OperationPhase
Source§impl Debug for OperationPhase
impl Debug for OperationPhase
impl Eq for OperationPhase
Source§impl PartialEq for OperationPhase
impl PartialEq for OperationPhase
impl StructuralPartialEq for OperationPhase
Auto Trait Implementations§
impl Freeze for OperationPhase
impl RefUnwindSafe for OperationPhase
impl Send for OperationPhase
impl Sync for OperationPhase
impl Unpin for OperationPhase
impl UnsafeUnpin for OperationPhase
impl UnwindSafe for OperationPhase
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