[][src]Enum pidfile_rs::PidfileError

pub enum PidfileError {
    AlreadyRunning {
        pid: Option<pid_t>,
    },
    Io(Error),
    NulError(NulError),
}

Variants

AlreadyRunning

The file cannot be locked. The pid field contains the PID of the already running process or None in case it did not write its PID yet.

Fields of AlreadyRunning

pid: Option<pid_t>
Io(Error)

An I/O error has occurred.

NulError(NulError)

An interior NUL byte was found in the path.

Trait Implementations

impl Debug for PidfileError[src]

impl Display for PidfileError[src]

impl Error for PidfileError[src]

impl From<Error> for PidfileError[src]

impl From<NulError> for PidfileError[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.