pub enum BatchDownloadError {
BatchFailed {
batch_id: String,
},
BatchStillProcessing {
batch_id: String,
},
ErrorFileAlreadyExists {
triple: BatchFileTriple,
},
OutputFileAlreadyExists {
triple: BatchFileTriple,
},
UnknownBatchStatus {
batch_id: String,
status: BatchStatus,
},
BatchMetadataError(BatchMetadataError),
IoError(Error),
OpenAIClientError(OpenAIClientError),
}Variants§
BatchFailed
BatchStillProcessing
ErrorFileAlreadyExists
Fields
§
triple: BatchFileTripleOutputFileAlreadyExists
Fields
§
triple: BatchFileTripleUnknownBatchStatus
BatchMetadataError(BatchMetadataError)
IoError(Error)
OpenAIClientError(OpenAIClientError)
Trait Implementations§
Source§impl Debug for BatchDownloadError
impl Debug for BatchDownloadError
Source§impl Display for BatchDownloadError
impl Display for BatchDownloadError
Source§impl From<ApiError> for BatchDownloadError
impl From<ApiError> for BatchDownloadError
Source§fn from(x: ApiError) -> BatchDownloadError
fn from(x: ApiError) -> BatchDownloadError
Converts to this type from the input type.
Source§impl From<BatchDownloadError> for BatchProcessingError
impl From<BatchDownloadError> for BatchProcessingError
Source§fn from(x: BatchDownloadError) -> BatchProcessingError
fn from(x: BatchDownloadError) -> BatchProcessingError
Converts to this type from the input type.
Source§impl From<BatchDownloadError> for BatchReconciliationError
impl From<BatchDownloadError> for BatchReconciliationError
Source§fn from(x: BatchDownloadError) -> BatchReconciliationError
fn from(x: BatchDownloadError) -> BatchReconciliationError
Converts to this type from the input type.
Source§impl From<BatchMetadataError> for BatchDownloadError
impl From<BatchMetadataError> for BatchDownloadError
Source§fn from(x: BatchMetadataError) -> BatchDownloadError
fn from(x: BatchMetadataError) -> BatchDownloadError
Converts to this type from the input type.
Source§impl From<Error> for BatchDownloadError
impl From<Error> for BatchDownloadError
Source§fn from(x: Error) -> BatchDownloadError
fn from(x: Error) -> BatchDownloadError
Converts to this type from the input type.
Source§impl From<OpenAIClientError> for BatchDownloadError
impl From<OpenAIClientError> for BatchDownloadError
Source§fn from(x: OpenAIClientError) -> BatchDownloadError
fn from(x: OpenAIClientError) -> BatchDownloadError
Converts to this type from the input type.
Source§impl From<OpenAIError> for BatchDownloadError
impl From<OpenAIError> for BatchDownloadError
Source§fn from(x: OpenAIError) -> BatchDownloadError
fn from(x: OpenAIError) -> BatchDownloadError
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for BatchDownloadError
impl !RefUnwindSafe for BatchDownloadError
impl Send for BatchDownloadError
impl Sync for BatchDownloadError
impl Unpin for BatchDownloadError
impl !UnwindSafe for BatchDownloadError
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