#[repr(u8)]pub enum AlertLevel {
Warning = 1,
Fatal = 2,
}Expand description
An alert level following Section B.2.
Variants§
Trait Implementations§
Source§impl Clone for AlertLevel
impl Clone for AlertLevel
Source§fn clone(&self) -> AlertLevel
fn clone(&self) -> AlertLevel
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 moreSource§impl Codec for AlertLevel
impl Codec for AlertLevel
impl Copy for AlertLevel
Source§impl Debug for AlertLevel
impl Debug for AlertLevel
impl Eq for AlertLevel
Source§impl Hash for AlertLevel
impl Hash for AlertLevel
Source§impl Ord for AlertLevel
impl Ord for AlertLevel
Source§fn cmp(&self, other: &AlertLevel) -> Ordering
fn cmp(&self, other: &AlertLevel) -> Ordering
1.21.0 (const: unstable) · 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 for AlertLevel
impl PartialEq for AlertLevel
Source§impl PartialOrd for AlertLevel
impl PartialOrd for AlertLevel
impl StructuralPartialEq for AlertLevel
Auto Trait Implementations§
impl Freeze for AlertLevel
impl RefUnwindSafe for AlertLevel
impl Send for AlertLevel
impl Sync for AlertLevel
impl Unpin for AlertLevel
impl UnsafeUnpin for AlertLevel
impl UnwindSafe for AlertLevel
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