Enum mz_adapter::session::ClientSeverity
source · pub enum ClientSeverity {
Error,
Warning,
Notice,
Log,
Debug1,
Debug2,
Debug3,
Debug4,
Debug5,
Info,
}
Expand description
Severity levels can used to be used to filter which messages get sent to a client.
The ordering of severity levels used for client-level filtering differs from the one used for server-side logging in two aspects: INFO messages are always sent, and the LOG severity is considered as below NOTICE, while it is above ERROR for server-side logs.
Variants§
Error
Sends only INFO, ERROR, FATAL and PANIC level messages.
Warning
Sends only WARNING, INFO, ERROR, FATAL and PANIC level messages.
Notice
Sends only NOTICE, WARNING, INFO, ERROR, FATAL and PANIC level messages.
Log
Sends only LOG, NOTICE, WARNING, INFO, ERROR, FATAL and PANIC level messages.
Debug1
Sends all messages to the client, since all DEBUG levels are treated as the same right now.
Debug2
Sends all messages to the client, since all DEBUG levels are treated as the same right now.
Debug3
Sends all messages to the client, since all DEBUG levels are treated as the same right now.
Debug4
Sends all messages to the client, since all DEBUG levels are treated as the same right now.
Debug5
Sends all messages to the client, since all DEBUG levels are treated as the same right now.
Info
Sends only NOTICE, WARNING, INFO, ERROR, FATAL and PANIC level messages. Not listed as a valid value, but accepted by Postgres
Implementations§
Trait Implementations§
source§impl Clone for ClientSeverity
impl Clone for ClientSeverity
source§fn clone(&self) -> ClientSeverity
fn clone(&self) -> ClientSeverity
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ClientSeverity
impl Debug for ClientSeverity
source§impl PartialEq<ClientSeverity> for ClientSeverity
impl PartialEq<ClientSeverity> for ClientSeverity
source§fn eq(&self, other: &ClientSeverity) -> bool
fn eq(&self, other: &ClientSeverity) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ClientSeverity
impl Serialize for ClientSeverity
source§impl Value for ClientSeverity
impl Value for ClientSeverity
impl Copy for ClientSeverity
impl Eq for ClientSeverity
impl StructuralEq for ClientSeverity
impl StructuralPartialEq for ClientSeverity
Auto Trait Implementations§
impl RefUnwindSafe for ClientSeverity
impl Send for ClientSeverity
impl Sync for ClientSeverity
impl Unpin for ClientSeverity
impl UnwindSafe for ClientSeverity
Blanket Implementations§
source§impl<T> CloneDebuggableStorage for Twhere
T: DebuggableStorage + Clone,
impl<T> CloneDebuggableStorage for Twhere
T: DebuggableStorage + Clone,
fn clone_storage(&self) -> Box<dyn CloneDebuggableStorage + 'static, Global>
source§impl<T> CloneableStorage for Twhere
T: Any + Send + Sync + Clone,
impl<T> CloneableStorage for Twhere
T: Any + Send + Sync + Clone,
fn clone_storage(&self) -> Box<dyn CloneableStorage + 'static, Global>
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.source§impl<T> FutureExt for T
impl<T> FutureExt for T
source§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
source§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request
source§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<P, R> ProtoType<R> for Pwhere
R: RustType<P>,
impl<P, R> ProtoType<R> for Pwhere
R: RustType<P>,
source§fn into_rust(self) -> Result<R, TryFromProtoError>
fn into_rust(self) -> Result<R, TryFromProtoError>
RustType::from_proto
.source§fn from_rust(rust: &R) -> P
fn from_rust(rust: &R) -> P
RustType::into_proto
.