Enum botx_api::api::v3::files::download_file::models::DownloadFileExpressError
source · pub enum DownloadFileExpressError {
ChatNotFound(ChatNotFound),
ErrorFromMessagingService(ErrorFromMessagingService),
FileMetadataNotFound(FileMetadataNotFound),
ErrorFromFileService(ErrorFromFileService),
FileDeleted(FileDeleted),
FileDownloadFailed(FileDownloadFailed),
ErrorFromS3FileService(ErrorFromS3FileService),
FileWithoutPreview(FileWithoutPreview),
Other,
}Expand description
Ошибки при запросе файла
Variants§
ChatNotFound(ChatNotFound)
Чат не найден
ErrorFromMessagingService(ErrorFromMessagingService)
Ошибка от Messaging сервиса
FileMetadataNotFound(FileMetadataNotFound)
Метаданные файла не найдены
ErrorFromFileService(ErrorFromFileService)
Файл сервис вернул ошибку при запросе метаданных файла
FileDeleted(FileDeleted)
Файл удален
FileDownloadFailed(FileDownloadFailed)
Ошибка при скачивание файла
ErrorFromS3FileService(ErrorFromS3FileService)
Ошибка при скачивание файла из s3 файл сервиса
FileWithoutPreview(FileWithoutPreview)
Файл не имеет preview
Other
Неопределенная ошибка, смотрите логи
Trait Implementations§
source§impl Clone for DownloadFileExpressError
impl Clone for DownloadFileExpressError
source§fn clone(&self) -> DownloadFileExpressError
fn clone(&self) -> DownloadFileExpressError
Returns a copy 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 DownloadFileExpressError
impl Debug for DownloadFileExpressError
source§impl<'de> Deserialize<'de> for DownloadFileExpressError
impl<'de> Deserialize<'de> for DownloadFileExpressError
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
Auto Trait Implementations§
impl RefUnwindSafe for DownloadFileExpressError
impl Send for DownloadFileExpressError
impl Sync for DownloadFileExpressError
impl Unpin for DownloadFileExpressError
impl UnwindSafe for DownloadFileExpressError
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