[][src]Enum file_descriptors::InvalidPathReason

pub enum InvalidPathReason {
    TooManySymbolicLinks,
    TooLong,
    IsADirectory,
    DoesNotExist,
    ParentComponentIsNotADirectory,
    ExistsButCanNotBeUsed,
}

Reason given for why a path is an invalid for a FIFO.

Variants

Equivalent to ELOOP.

TooLong

Equivalent to ENAMETOOLONG.

IsADirectory

Equivalent to EISDIR.

DoesNotExist

Does not exist.

A component of the FIFO path does not exist.

ParentComponentIsNotADirectory

One of the parent components of the path (ie not the file name) is not a directory.

ExistsButCanNotBeUsed

The path points to something that exists but:-

  • it is not a device special file (character or block device) backed by a device, or;
  • it is on a read-only file system and writes need to occur (this should not normally occur), or;
  • it is an executable image currently being executed and writes need to occur.

Trait Implementations

impl Clone for InvalidPathReason[src]

impl Copy for InvalidPathReason[src]

impl Debug for InvalidPathReason[src]

impl Eq for InvalidPathReason[src]

impl Hash for InvalidPathReason[src]

impl Ord for InvalidPathReason[src]

impl PartialEq<InvalidPathReason> for InvalidPathReason[src]

impl PartialOrd<InvalidPathReason> for InvalidPathReason[src]

impl StructuralEq for InvalidPathReason[src]

impl StructuralPartialEq for InvalidPathReason[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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.