pub enum RaiseLevel {
Notice,
Warning,
Info,
Log,
Debug,
Exception,
}Variants§
Notice
RAISE NOTICE — diagnostic message, observable in the
server log. Does not affect the trigger’s outcome.
Warning
RAISE WARNING — like NOTICE, slightly louder severity.
Info
RAISE INFO — like NOTICE, slightly quieter.
Log
RAISE LOG — like NOTICE, lower priority.
Debug
RAISE DEBUG — like NOTICE, lowest priority.
Exception
RAISE EXCEPTION — aborts the trigger function with the
given message, propagating up to the caller as a query-
level error.
Trait Implementations§
Source§impl Clone for RaiseLevel
impl Clone for RaiseLevel
Source§fn clone(&self) -> RaiseLevel
fn clone(&self) -> RaiseLevel
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 RaiseLevel
Source§impl Debug for RaiseLevel
impl Debug for RaiseLevel
impl Eq for RaiseLevel
Source§impl PartialEq for RaiseLevel
impl PartialEq for RaiseLevel
Source§fn eq(&self, other: &RaiseLevel) -> bool
fn eq(&self, other: &RaiseLevel) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RaiseLevel
Auto Trait Implementations§
impl Freeze for RaiseLevel
impl RefUnwindSafe for RaiseLevel
impl Send for RaiseLevel
impl Sync for RaiseLevel
impl Unpin for RaiseLevel
impl UnsafeUnpin for RaiseLevel
impl UnwindSafe for RaiseLevel
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