Enum PhpErrorLevel
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§
§impl PhpErrorLevel
impl PhpErrorLevel
pub const fn as_str(self) -> &'static str
pub const fn severity(self) -> PhpSeverity
Trait Implementations§
§impl Clone for PhpErrorLevel
impl Clone for PhpErrorLevel
§fn clone(&self) -> PhpErrorLevel
fn clone(&self) -> PhpErrorLevel
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for PhpErrorLevel
impl Debug for PhpErrorLevel
§impl Display for PhpErrorLevel
impl Display for PhpErrorLevel
§impl Hash for PhpErrorLevel
impl Hash for PhpErrorLevel
§impl Ord for PhpErrorLevel
impl Ord for PhpErrorLevel
§impl PartialEq for PhpErrorLevel
impl PartialEq for PhpErrorLevel
§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