pub struct WireSeverity { /* private fields */ }
Expand description
The wire type corresponding to Severity
.
Implementations§
Source§impl WireSeverity
impl WireSeverity
pub const TRACE: WireSeverity
pub const DEBUG: WireSeverity
pub const INFO: WireSeverity
pub const WARN: WireSeverity
pub const ERROR: WireSeverity
pub const FATAL: WireSeverity
Trait Implementations§
Source§impl Clone for WireSeverity
impl Clone for WireSeverity
Source§fn clone(&self) -> WireSeverity
fn clone(&self) -> WireSeverity
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 WireSeverity
impl Debug for WireSeverity
Source§impl<___D> Decode<___D> for WireSeveritywhere
___D: ?Sized,
impl<___D> Decode<___D> for WireSeveritywhere
___D: ?Sized,
Source§impl From<Severity> for WireSeverity
impl From<Severity> for WireSeverity
Source§impl From<WireSeverity> for Severity
impl From<WireSeverity> for Severity
Source§fn from(wire: WireSeverity) -> Self
fn from(wire: WireSeverity) -> Self
Converts to this type from the input type.
Source§impl FromWire<WireSeverity> for Severity
impl FromWire<WireSeverity> for Severity
Source§fn from_wire(wire: WireSeverity) -> Self
fn from_wire(wire: WireSeverity) -> Self
Converts the given
wire
to this type.§const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
Source§impl FromWireRef<WireSeverity> for Severity
impl FromWireRef<WireSeverity> for Severity
Source§fn from_wire_ref(wire: &WireSeverity) -> Self
fn from_wire_ref(wire: &WireSeverity) -> Self
Converts the given
wire
reference to this type.Source§impl PartialEq for WireSeverity
impl PartialEq for WireSeverity
Source§impl Wire for WireSeverity
impl Wire for WireSeverity
Source§type Decoded<'de> = WireSeverity
type Decoded<'de> = WireSeverity
The decoded wire type, restricted to the
'de
lifetime.Source§fn zero_padding(_: &mut MaybeUninit<Self>)
fn zero_padding(_: &mut MaybeUninit<Self>)
Writes zeroes to the padding for this type, if any.
impl Copy for WireSeverity
impl Eq for WireSeverity
impl StructuralPartialEq for WireSeverity
Auto Trait Implementations§
impl Freeze for WireSeverity
impl RefUnwindSafe for WireSeverity
impl Send for WireSeverity
impl Sync for WireSeverity
impl Unpin for WireSeverity
impl UnwindSafe for WireSeverity
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