[][src]Struct normpath::error::MissingPrefixBufError

pub struct MissingPrefixBufError(_);

The error returned when BasePathBuf::try_new is given a path without a prefix.

Implementations

impl MissingPrefixBufError[src]

#[must_use]pub fn as_path(&self) -> &Path[src]

Returns a reference to the path that caused this error.

#[must_use]pub fn into_path_buf(self) -> PathBuf[src]

Returns the path that caused this error.

Trait Implementations

impl Debug for MissingPrefixBufError[src]

impl Display for MissingPrefixBufError[src]

impl Error for MissingPrefixBufError[src]

impl PartialEq<MissingPrefixBufError> for MissingPrefixBufError[src]

impl StructuralPartialEq for MissingPrefixBufError[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.