#[non_exhaustive]pub enum OperationPhase {
Queued,
Writing,
AwaitingReply,
Terminal,
}Expand description
The transport-owned phase of an accepted operation.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Queued
The complete frame is queued but transport write ownership has not begun.
Writing
At least one byte was written, but the writer still owns an unwritten tail.
AwaitingReply
The complete frame left local write ownership and a reply may arrive.
Terminal
One terminal outcome has been emitted.
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