Enum libbpf_rs::PrintLevel
source · #[repr(u32)]
pub enum PrintLevel {
Warn,
Info,
Debug,
}
Expand description
An enum representing the different supported print levels.
Variants§
Warn
Print warnings and more severe messages.
Info
Print general information and more severe messages.
Debug
Print debug information and more severe messages.
Trait Implementations§
source§impl Clone for PrintLevel
impl Clone for PrintLevel
source§fn clone(&self) -> PrintLevel
fn clone(&self) -> PrintLevel
Returns a copy 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 moresource§impl Debug for PrintLevel
impl Debug for PrintLevel
source§impl From<u32> for PrintLevel
impl From<u32> for PrintLevel
source§fn from(level: libbpf_print_level) -> Self
fn from(level: libbpf_print_level) -> Self
Converts to this type from the input type.
source§impl Ord for PrintLevel
impl Ord for PrintLevel
source§fn cmp(&self, other: &PrintLevel) -> Ordering
fn cmp(&self, other: &PrintLevel) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<PrintLevel> for PrintLevel
impl PartialEq<PrintLevel> for PrintLevel
source§fn eq(&self, other: &PrintLevel) -> bool
fn eq(&self, other: &PrintLevel) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<PrintLevel> for PrintLevel
impl PartialOrd<PrintLevel> for PrintLevel
source§fn partial_cmp(&self, other: &PrintLevel) -> Option<Ordering>
fn partial_cmp(&self, other: &PrintLevel) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more