MCPcopy Create free account
hub / github.com/bitflags/bitflags / ParseErrorKind

Enum ParseErrorKind

src/parser.rs:248–262  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

246#[derive(Debug)]
247#[allow(clippy::enum_variant_names)]
248enum ParseErrorKind {
249 EmptyFlag,
250 InvalidNamedFlag {
251 #[cfg(not(feature = "std"))]
252 got: (),
253 #[cfg(feature = "std")]
254 got: String,
255 },
256 InvalidHexFlag {
257 #[cfg(not(feature = "std"))]
258 got: (),
259 #[cfg(feature = "std")]
260 got: String,
261 },
262}
263
264impl ParseError {
265 /// An invalid hex flag was encountered.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected