Skip to main content

euv_ui/component/upload/view/
enum.rs

1use super::*;
2
3/// The transfer state of one file in the [`euv_upload`] list.
4#[derive(Clone, Copy, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)]
5pub enum EuvUploadStatus {
6    /// Queued, not yet handed to the transport.
7    #[default]
8    Pending,
9    /// In flight.
10    Uploading,
11    /// Finished successfully.
12    Done,
13    /// Finished with an error.
14    Failed,
15}