pub enum Facility {
Show 17 variants
Kernel,
User,
Mail,
Daemon,
Auth,
Syslog,
Lpr,
News,
Uucp,
Local0,
Local1,
Local2,
Local3,
Local4,
Local5,
Local6,
Local7,
}
Expand description
The facility of a syslog message.
See syslog man pages for information on their semantics.
Variants§
Kernel
User
Daemon
Auth
Syslog
Lpr
News
Uucp
Local0
Local1
Local2
Local3
Local4
Local5
Local6
Local7
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