pub enum Facility {
Show 20 variants
Auth,
AuthPriv,
Cron,
Daemon,
Ftp,
Kern,
Local0,
Local1,
Local2,
Local3,
Local4,
Local5,
Local6,
Local7,
Lpr,
Mail,
News,
Syslog,
User,
Uucp,
}Expand description
The type of program.
Variants§
Auth
Security/authorization.
AuthPriv
Security/authorization (private).
Cron
Clock daemon (cron and at).
Daemon
System daemons without separate facility value.
Ftp
FTP daemon.
Kern
Kernel messages (these can’t be generated from user processes).
Local0
Reserved for local use.
Local1
Reserved for local use.
Local2
Reserved for local use.
Local3
Reserved for local use.
Local4
Reserved for local use.
Local5
Reserved for local use.
Local6
Reserved for local use.
Local7
Reserved for local use.
Lpr
Line printer subsystem.
Mail subsystem.
News
USENET news subsystem.
Syslog
Messages generated internally by syslogd.
User
Generic user-level messages. This is the default when not calling openlog().
Uucp
UUCP subsystem.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Facility
impl<'de> Deserialize<'de> for Facility
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Facility
impl RefUnwindSafe for Facility
impl Send for Facility
impl Sync for Facility
impl Unpin for Facility
impl UnwindSafe for Facility
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