pub enum PhpErrorLevel {
Show 14 variants
Error,
Warning,
Parse,
Notice,
CoreError,
CoreWarning,
CompileError,
CompileWarning,
UserError,
UserWarning,
UserNotice,
Deprecated,
UserDeprecated,
RecoverableError,
}Expand description
PHP error level metadata.
Variants§
Error
Warning
Parse
Notice
CoreError
CoreWarning
CompileError
CompileWarning
UserError
UserWarning
UserNotice
Deprecated
UserDeprecated
RecoverableError
Implementations§
Source§impl PhpErrorLevel
impl PhpErrorLevel
Trait Implementations§
Source§impl Clone for PhpErrorLevel
impl Clone for PhpErrorLevel
Source§fn clone(&self) -> PhpErrorLevel
fn clone(&self) -> PhpErrorLevel
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 moreSource§impl Debug for PhpErrorLevel
impl Debug for PhpErrorLevel
Source§impl Display for PhpErrorLevel
impl Display for PhpErrorLevel
Source§impl Hash for PhpErrorLevel
impl Hash for PhpErrorLevel
Source§impl Ord for PhpErrorLevel
impl Ord for PhpErrorLevel
Source§fn cmp(&self, other: &PhpErrorLevel) -> Ordering
fn cmp(&self, other: &PhpErrorLevel) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for PhpErrorLevel
impl PartialEq for PhpErrorLevel
Source§fn eq(&self, other: &PhpErrorLevel) -> bool
fn eq(&self, other: &PhpErrorLevel) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for PhpErrorLevel
impl PartialOrd for PhpErrorLevel
impl Copy for PhpErrorLevel
impl Eq for PhpErrorLevel
impl StructuralPartialEq for PhpErrorLevel
Auto Trait Implementations§
impl Freeze for PhpErrorLevel
impl RefUnwindSafe for PhpErrorLevel
impl Send for PhpErrorLevel
impl Sync for PhpErrorLevel
impl Unpin for PhpErrorLevel
impl UnsafeUnpin for PhpErrorLevel
impl UnwindSafe for PhpErrorLevel
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