pub enum SourcePathError {
NotStd {
text: String,
},
NotAPath {
text: String,
},
}Expand description
Why text is no SourcePath.
Variants§
NotStd
The text names std without a major version written v<major> or
without a file.
NotAPath
The text is none of the forms.
Trait Implementations§
Source§impl Clone for SourcePathError
impl Clone for SourcePathError
Source§impl Debug for SourcePathError
impl Debug for SourcePathError
Source§impl Display for SourcePathError
impl Display for SourcePathError
impl Eq for SourcePathError
Source§impl Error for SourcePathError
impl Error for SourcePathError
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 SourcePathError
impl PartialEq for SourcePathError
impl StructuralPartialEq for SourcePathError
Auto Trait Implementations§
impl Forget for SourcePathError
impl Freeze for SourcePathError
impl Move for SourcePathError
impl RefUnwindSafe for SourcePathError
impl Send for SourcePathErrorwhere
RawVecInner: Send,
impl Sync for SourcePathErrorwhere
RawVecInner: Sync,
impl Unpin for SourcePathError
impl UnsafeUnpin for SourcePathError
impl UnwindSafe for SourcePathErrorwhere
RawVecInner: UnwindSafe,
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