Enum scale_info::PathError
source · [−]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
Fields
segment: usize
The index of the erroneous segment.
If a segment within a module path is not a proper Rust identifier.
Trait Implementations
sourceimpl PartialEq<PathError> for PathError
impl PartialEq<PathError> for PathError
impl Eq for PathError
impl StructuralEq for PathError
impl StructuralPartialEq for PathError
Auto Trait Implementations
impl RefUnwindSafe for PathError
impl Send for PathError
impl Sync for PathError
impl Unpin for PathError
impl UnwindSafe for PathError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more