Enum syslog_rfc5424::message::ProcIdType [] [src]

pub enum ProcIdType {
    PID(pid_t),
    Name(String),
}

ProcIDs are usually numeric PIDs; however, on some systems, they may be something else

Variants

PID(pid_t)Name(String)

Trait Implementations

impl Eq for ProcIdType
[src]

impl PartialEq for ProcIdType
[src]

fn eq(&self, __arg_0: &ProcIdType) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, __arg_0: &ProcIdType) -> bool

This method tests for !=.

impl Debug for ProcIdType
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Clone for ProcIdType
[src]

fn clone(&self) -> ProcIdType

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Encodable for ProcIdType
[src]

fn encode<S: Encoder>(&self, s: &mut S) -> Result<(), S::Error>