pub enum TypePathError {
Empty,
}Expand description
Construction error for TypePath.
Variants§
Empty
Caller supplied an empty segment list.
Trait Implementations§
Source§impl Clone for TypePathError
impl Clone for TypePathError
Source§fn clone(&self) -> TypePathError
fn clone(&self) -> TypePathError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TypePathError
impl Debug for TypePathError
Source§impl Display for TypePathError
impl Display for TypePathError
impl Eq for TypePathError
Source§impl Error for TypePathError
impl Error for TypePathError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for TypePathError
impl PartialEq for TypePathError
impl StructuralPartialEq for TypePathError
Auto Trait Implementations§
impl Freeze for TypePathError
impl RefUnwindSafe for TypePathError
impl Send for TypePathError
impl Sync for TypePathError
impl Unpin for TypePathError
impl UnsafeUnpin for TypePathError
impl UnwindSafe for TypePathError
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