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: String
IOError(String)
Tuple Fields
0: String
TchError(String)
Tuple Fields
0: String
TokenizerError(String)
Tuple Fields
0: String
InvalidConfigurationError(String)
Tuple Fields
0: String
ValueError(String)
Tuple Fields
0: String
Trait 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