pub enum PathError {
MissingSegments,
InvalidIdentifier {
segment: usize,
},
}
Expand description
An error that may be encountered upon constructing namespaces.
Variants§
MissingSegments
If the module path does not at least have one segment.
InvalidIdentifier
If a segment within a module path is not a proper Rust identifier.
Trait Implementations§
impl Eq for PathError
impl StructuralPartialEq for PathError
Auto Trait Implementations§
impl Freeze for PathError
impl RefUnwindSafe for PathError
impl Send for PathError
impl Sync for PathError
impl Unpin for PathError
impl UnwindSafe for PathError
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more