Enum relative_path::FromPathErrorKind [−][src]
#[non_exhaustive] pub enum FromPathErrorKind { NonRelative, NonUtf8, BadSeparator, }
Expand description
Error kind for FromPathError.
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.
Non-relative component in path.
Non-utf8 component in path.
Trying to convert a platform-specific path which uses a platform-specific separator.
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for FromPathErrorKind
impl Send for FromPathErrorKind
impl Sync for FromPathErrorKind
impl Unpin for FromPathErrorKind
impl UnwindSafe for FromPathErrorKind
Blanket Implementations
Mutably borrows from an owned value. Read more