pub enum Indication {
Transaction(TransactionID),
EoFSent(TransactionID),
EoFRecv(TransactionID),
Finished(FinishedIndication),
MetadataRecv(MetadataRecvIndication),
FileSegmentRecv(FileSegmentIndication),
Report(Report),
}Expand description
Indications how the Daemon and Transactions relay information back to the User application. Indications are issued at necessary points in each Transaction’s lifetime.
Variants§
Transaction(TransactionID)
A new transaction has been initiated as a result of a PutRequest
EoFSent(TransactionID)
End of File has been Sent
EoFRecv(TransactionID)
End of File PDU has been received
Finished(FinishedIndication)
A running transaction has reached the Finished state. Receipt of this indications starts and post transaction actions.
MetadataRecv(MetadataRecvIndication)
Metadata has been received for a Receive Transaction
FileSegmentRecv(FileSegmentIndication)
A new file segment has been received
Report(Report)
Last known status for the given transaction
Trait Implementations§
Source§impl Clone for Indication
impl Clone for Indication
Source§fn clone(&self) -> Indication
fn clone(&self) -> Indication
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for Indication
impl RefUnwindSafe for Indication
impl Send for Indication
impl Sync for Indication
impl Unpin for Indication
impl UnsafeUnpin for Indication
impl UnwindSafe for Indication
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