pub enum SyslogLevel {
Emergency = 0,
Alert = 1,
Critical = 2,
Error = 3,
Warning = 4,
Notice = 5,
Info = 6,
Debug = 7,
}Expand description
PHP error severity levels (maps to syslog priorities).
Variants§
Implementations§
Source§impl SyslogLevel
impl SyslogLevel
Trait Implementations§
Source§impl Clone for SyslogLevel
impl Clone for SyslogLevel
Source§fn clone(&self) -> SyslogLevel
fn clone(&self) -> SyslogLevel
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SyslogLevel
Source§impl Debug for SyslogLevel
impl Debug for SyslogLevel
Source§impl Display for SyslogLevel
impl Display for SyslogLevel
impl Eq for SyslogLevel
Source§impl From<SyslogLevel> for i32
impl From<SyslogLevel> for i32
Source§fn from(level: SyslogLevel) -> Self
fn from(level: SyslogLevel) -> Self
Converts to this type from the input type.
Source§impl From<i32> for SyslogLevel
impl From<i32> for SyslogLevel
Source§impl PartialEq for SyslogLevel
impl PartialEq for SyslogLevel
Source§fn eq(&self, other: &SyslogLevel) -> bool
fn eq(&self, other: &SyslogLevel) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SyslogLevel
Auto Trait Implementations§
impl Freeze for SyslogLevel
impl RefUnwindSafe for SyslogLevel
impl Send for SyslogLevel
impl Sync for SyslogLevel
impl Unpin for SyslogLevel
impl UnsafeUnpin for SyslogLevel
impl UnwindSafe for SyslogLevel
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