Enum rbatis::plugin::object_id::Error [−][src]
#[non_exhaustive]
pub enum Error {
ArgumentError {
message: String,
},
FromHexError(FromHexError),
}
Expand description
Errors that can occur during OID construction and generation.
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.
An invalid argument was passed in.
Fields of ArgumentError
message: String
An error occured parsing a hex string.
Tuple Fields of FromHexError
0: FromHexError
Trait Implementations
👎 Deprecated since 1.33.0:
replaced by Error::source, which can support downcasting
The lower-level source of this error, if any. Read more
🔬 This is a nightly-only experimental API. (
backtrace
)Returns a stack backtrace, if available, of where this error occurred. Read more
👎 Deprecated since 1.42.0:
use the Display impl or to_string()
Performs the conversion.