pub enum FileProcessingFlowStep {
Show 42 variants
LoadJob,
MarkRunning,
LoadFile,
LoadBucket,
RouteByJobType,
ProcessImageThumbnail,
StoreImageThumbnail,
UpdateFileThumbnail,
ProcessVideoThumbnail,
StoreVideoThumbnail,
UpdateFileVideoThumbnail,
ProcessDocumentPreview,
StoreDocumentPreview,
UpdateFileDocumentPreview,
ProcessCompression,
StoreCompressedFile,
UpdateFileCompression,
UpdateBucketCompressionStats,
ProcessVirusScan,
CheckThreatLevel,
UpdateScanSafe,
UpdateScanWarning,
NotifyScanWarning,
UpdateScanThreat,
NotifyThreatDetected,
ProcessDeduplication,
CheckExistingHash,
UpdateExistingHash,
LinkFileHash,
CreateNewHash,
MarkComplete,
EmitCompleteEvent,
Complete,
RetryOrFail,
ScheduleRetry,
RetryTerminal,
MarkFailed,
EmitFailedEvent,
FailedTerminal,
JobNotFound,
FileNotFound,
UnknownJobType,
}Expand description
Steps in FileProcessing flow
Variants§
LoadJob
load_job
MarkRunning
mark_running
LoadFile
load_file
LoadBucket
load_bucket
RouteByJobType
route_by_job_type
ProcessImageThumbnail
process_image_thumbnail
StoreImageThumbnail
store_image_thumbnail
UpdateFileThumbnail
update_file_thumbnail
ProcessVideoThumbnail
process_video_thumbnail
StoreVideoThumbnail
store_video_thumbnail
UpdateFileVideoThumbnail
update_file_video_thumbnail
ProcessDocumentPreview
process_document_preview
StoreDocumentPreview
store_document_preview
UpdateFileDocumentPreview
update_file_document_preview
ProcessCompression
process_compression
StoreCompressedFile
store_compressed_file
UpdateFileCompression
update_file_compression
UpdateBucketCompressionStats
update_bucket_compression_stats
ProcessVirusScan
process_virus_scan
CheckThreatLevel
check_threat_level
UpdateScanSafe
update_scan_safe
UpdateScanWarning
update_scan_warning
NotifyScanWarning
notify_scan_warning
UpdateScanThreat
update_scan_threat
NotifyThreatDetected
notify_threat_detected
ProcessDeduplication
process_deduplication
CheckExistingHash
check_existing_hash
UpdateExistingHash
update_existing_hash
LinkFileHash
link_file_hash
CreateNewHash
create_new_hash
MarkComplete
mark_complete
EmitCompleteEvent
emit_complete_event
Complete
complete
RetryOrFail
retry_or_fail
ScheduleRetry
schedule_retry
RetryTerminal
retry_terminal
MarkFailed
mark_failed
EmitFailedEvent
emit_failed_event
FailedTerminal
failed_terminal
JobNotFound
job_not_found
FileNotFound
file_not_found
UnknownJobType
unknown_job_type
Trait Implementations§
Source§impl Clone for FileProcessingFlowStep
impl Clone for FileProcessingFlowStep
impl Copy for FileProcessingFlowStep
Source§impl Debug for FileProcessingFlowStep
impl Debug for FileProcessingFlowStep
Source§impl<'de> Deserialize<'de> for FileProcessingFlowStep
impl<'de> Deserialize<'de> for FileProcessingFlowStep
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>,
impl Eq for FileProcessingFlowStep
Source§impl Hash for FileProcessingFlowStep
impl Hash for FileProcessingFlowStep
Source§impl PartialEq for FileProcessingFlowStep
impl PartialEq for FileProcessingFlowStep
Source§impl Serialize for FileProcessingFlowStep
impl Serialize for FileProcessingFlowStep
impl StructuralPartialEq for FileProcessingFlowStep
Auto Trait Implementations§
impl Freeze for FileProcessingFlowStep
impl RefUnwindSafe for FileProcessingFlowStep
impl Send for FileProcessingFlowStep
impl Sync for FileProcessingFlowStep
impl Unpin for FileProcessingFlowStep
impl UnsafeUnpin for FileProcessingFlowStep
impl UnwindSafe for FileProcessingFlowStep
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more