[−][src]Enum serde_gelf::GelfLevel
An enum representing the record level which is equal to the standard syslog levels.
Variants
Emergency
The "Emergency" level.
System is unusable.
Alert
The "Alert" level.
Action must be taken immediately.
Critical
The "Critical" level.
Critical conditions such as Hard device, memory errors...
Error
The "Error" level.
Error conditions.
Warning
The "Warning" level.
Warning conditions.
Notice
The "Notice" level.
Normal but significant conditions. Conditions that are not error conditions, but that may require special handling.
Informational
The "Informational" level.
Informational messages.
Debugging
The "" level.
Debug-level messages. Messages that contain information normally of use only when debugging a program.
Trait Implementations
impl Clone for GelfLevel
[src]
fn clone(&self) -> GelfLevel
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl From<Level> for GelfLevel
[src]
impl<'_> From<&'_ GelfLevel> for Level
[src]
impl From<u32> for GelfLevel
[src]
impl From<GelfLevel> for String
[src]
impl Copy for GelfLevel
[src]
impl Default for GelfLevel
[src]
Set the default level to GelfLevel::Alert
.
impl PartialEq<GelfLevel> for GelfLevel
[src]
fn eq(&self, other: &GelfLevel) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.
impl PartialOrd<GelfLevel> for GelfLevel
[src]
fn partial_cmp(&self, other: &GelfLevel) -> Option<Ordering>
[src]
#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests less than (for self
and other
) and is used by the <
operator. Read more
#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more
impl Debug for GelfLevel
[src]
impl Serialize for GelfLevel
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<'de> Deserialize<'de> for GelfLevel
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl Sync for GelfLevel
impl Unpin for GelfLevel
impl Send for GelfLevel
impl UnwindSafe for GelfLevel
impl RefUnwindSafe for GelfLevel
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,