Enum sentencepiece::SentencePieceError [−][src]
#[non_exhaustive] pub enum SentencePieceError { CError(CSentencePieceError), EncodeError, FilenameContainsNul(PathBuf), MissingData(String), }
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
CError(CSentencePieceError)
FilenameContainsNul(PathBuf)
MissingData(String)
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for SentencePieceError
impl Send for SentencePieceError
impl Sync for SentencePieceError
impl Unpin for SentencePieceError
impl UnwindSafe for SentencePieceError
Blanket Implementations
Mutably borrows from an owned value. Read more