pub enum TransactionStep {
Idle = 0,
TransactionStart = 1,
SendingMetadata = 3,
SendingFileData = 4,
Retransmitting = 5,
SendingEof = 6,
WaitingForEofAck = 7,
WaitingForFinished = 8,
NoticeOfCompletion = 10,
}
Available on crate feature
alloc
only.Expand description
This enumeration models the different transaction steps of the source entity handler.
Variants§
Idle = 0
TransactionStart = 1
SendingMetadata = 3
SendingFileData = 4
Retransmitting = 5
Re-transmitting missing packets in acknowledged mode
SendingEof = 6
WaitingForEofAck = 7
WaitingForFinished = 8
NoticeOfCompletion = 10
Trait Implementations§
Source§impl Clone for TransactionStep
impl Clone for TransactionStep
Source§fn clone(&self) -> TransactionStep
fn clone(&self) -> TransactionStep
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for TransactionStep
impl Debug for TransactionStep
Source§impl<'de> Deserialize<'de> for TransactionStep
impl<'de> Deserialize<'de> for TransactionStep
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Format for TransactionStep
impl Format for TransactionStep
Source§impl PartialEq for TransactionStep
impl PartialEq for TransactionStep
Source§impl Serialize for TransactionStep
impl Serialize for TransactionStep
impl Copy for TransactionStep
impl Eq for TransactionStep
impl StructuralPartialEq for TransactionStep
Auto Trait Implementations§
impl Freeze for TransactionStep
impl RefUnwindSafe for TransactionStep
impl Send for TransactionStep
impl Sync for TransactionStep
impl Unpin for TransactionStep
impl UnwindSafe for TransactionStep
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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
Compare self to
key
and return true
if they are equal.