Enum rust_bert::RustBertError [−][src]
pub enum RustBertError {
FileDownloadError(String),
IOError(String),
TchError(String),
TokenizerError(String),
InvalidConfigurationError(String),
ValueError(String),
}Variants
FileDownloadError(String)
Tuple Fields
0: StringIOError(String)
Tuple Fields
0: StringTchError(String)
Tuple Fields
0: StringTokenizerError(String)
Tuple Fields
0: StringInvalidConfigurationError(String)
Tuple Fields
0: StringValueError(String)
Tuple Fields
0: StringTrait Implementations
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for RustBertError
impl Send for RustBertError
impl Sync for RustBertError
impl Unpin for RustBertError
impl UnwindSafe for RustBertError
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
type Output = T
type Output = T
Should always be Self
