pub enum GptBatchCreationError {
OpenAIError(OpenAIError),
IOError(Error),
TokenizerError(TokenizerError),
ParseTokenDescriptionLineError(ParseTokenDescriptionLineError),
SerdeJsonError(Error),
}
Variants§
OpenAIError(OpenAIError)
IOError(Error)
TokenizerError(TokenizerError)
ParseTokenDescriptionLineError(ParseTokenDescriptionLineError)
SerdeJsonError(Error)
Trait Implementations§
Source§impl Debug for GptBatchCreationError
impl Debug for GptBatchCreationError
Source§impl From<Error> for GptBatchCreationError
impl From<Error> for GptBatchCreationError
Source§impl From<Error> for GptBatchCreationError
impl From<Error> for GptBatchCreationError
Source§impl From<OpenAIError> for GptBatchCreationError
impl From<OpenAIError> for GptBatchCreationError
Source§fn from(x: OpenAIError) -> Self
fn from(x: OpenAIError) -> Self
Converts to this type from the input type.
Source§impl From<ParseTokenDescriptionLineError> for GptBatchCreationError
impl From<ParseTokenDescriptionLineError> for GptBatchCreationError
Source§fn from(x: ParseTokenDescriptionLineError) -> Self
fn from(x: ParseTokenDescriptionLineError) -> Self
Converts to this type from the input type.
Source§impl From<String> for GptBatchCreationError
impl From<String> for GptBatchCreationError
Source§impl From<TokenizerError> for GptBatchCreationError
impl From<TokenizerError> for GptBatchCreationError
Source§fn from(x: TokenizerError) -> Self
fn from(x: TokenizerError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for GptBatchCreationError
impl !RefUnwindSafe for GptBatchCreationError
impl Send for GptBatchCreationError
impl Sync for GptBatchCreationError
impl Unpin for GptBatchCreationError
impl !UnwindSafe for GptBatchCreationError
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