pub enum NoticeSeverity {
Notice,
Warning,
Info,
}Expand description
v7.39 (round 318, V41) — how loud a diagnostic the statement raised is.
PG distinguishes them on the wire (S/V fields of NoticeResponse) and
clients act on it: psql prints WARNING: in a different colour, and
several drivers surface warnings to the application while dropping
notices. Emitting everything as NOTICE loses that.
Variants§
Notice
Warning
Info
v7.39 (round 757, F31-B3) — RAISE INFO. PG sends INFO to the
client ALWAYS, regardless of client_min_messages.
Implementations§
Trait Implementations§
Source§impl Clone for NoticeSeverity
impl Clone for NoticeSeverity
Source§fn clone(&self) -> NoticeSeverity
fn clone(&self) -> NoticeSeverity
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 NoticeSeverity
Source§impl Debug for NoticeSeverity
impl Debug for NoticeSeverity
impl Eq for NoticeSeverity
Source§impl PartialEq for NoticeSeverity
impl PartialEq for NoticeSeverity
impl StructuralPartialEq for NoticeSeverity
Auto Trait Implementations§
impl Freeze for NoticeSeverity
impl RefUnwindSafe for NoticeSeverity
impl Send for NoticeSeverity
impl Sync for NoticeSeverity
impl Unpin for NoticeSeverity
impl UnsafeUnpin for NoticeSeverity
impl UnwindSafe for NoticeSeverity
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