pub enum Facility {
Show 17 variants
Kernel = 0,
User = 8,
Mail = 16,
Daemon = 24,
Auth = 32,
Syslog = 40,
Lpr = 48,
News = 56,
Uucp = 64,
Local0 = 128,
Local1 = 136,
Local2 = 144,
Local3 = 152,
Local4 = 160,
Local5 = 168,
Local6 = 176,
Local7 = 184,
}
Expand description
The facility of a syslog message.
See syslog man pages for information on their semantics.
Variants§
Kernel = 0
User = 8
Mail = 16
Daemon = 24
Auth = 32
Syslog = 40
Lpr = 48
News = 56
Uucp = 64
Local0 = 128
Local1 = 136
Local2 = 144
Local3 = 152
Local4 = 160
Local5 = 168
Local6 = 176
Local7 = 184
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
impl Copy for Facility
Auto Trait Implementations§
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