pub struct SegmentsError {
pub text: String,
}Expand description
Text that is no path: a name in it is empty, as a//b, /a and
a/ make one.
Fields§
§text: StringThe text.
Trait Implementations§
Source§impl Clone for SegmentsError
impl Clone for SegmentsError
Source§impl Debug for SegmentsError
impl Debug for SegmentsError
Source§impl Display for SegmentsError
impl Display for SegmentsError
impl Eq for SegmentsError
Source§impl Error for SegmentsError
impl Error for SegmentsError
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 SegmentsError
impl PartialEq for SegmentsError
impl StructuralPartialEq for SegmentsError
Auto Trait Implementations§
impl Forget for SegmentsError
impl Freeze for SegmentsError
impl Move for SegmentsError
impl RefUnwindSafe for SegmentsError
impl Send for SegmentsErrorwhere
RawVecInner: Send,
impl Sync for SegmentsErrorwhere
RawVecInner: Sync,
impl Unpin for SegmentsError
impl UnsafeUnpin for SegmentsError
impl UnwindSafe for SegmentsErrorwhere
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