pub enum TransactionStep {
Idle,
TransactionStart,
WaitingForMetadata,
ReceivingFileDataPdus,
ReceivingFileDataPdusWithCheckLimitHandling,
WaitingForMissingData,
TransferCompletion,
WaitingForFinishedAck,
}
Expand description
This enumeration models the different transaction steps of the destination entity handler.
Variants§
Idle
TransactionStart
WaitingForMetadata
Special state which is only used for acknowledged mode. The CFDP entity is still waiting for a missing metadata PDU to be re-sent. Until then, all arriving file data PDUs will only update the internal lost segment tracker. When the EOF PDU arrives, the state will be left. Please note that deferred lost segment handling might also be active when this state is set.
ReceivingFileDataPdus
ReceivingFileDataPdusWithCheckLimitHandling
This is the check timer step as specified in chapter 4.6.3.3 b) of the standard. The destination handler will still check for file data PDUs which might lead to a full file transfer completion.
WaitingForMissingData
TransferCompletion
WaitingForFinishedAck
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.