pub enum ChannelHealth {
Healthy,
Unhealthy,
}Expand description
Binary health status for a channel.
Variants§
Trait Implementations§
Source§impl Clone for ChannelHealth
impl Clone for ChannelHealth
Source§fn clone(&self) -> ChannelHealth
fn clone(&self) -> ChannelHealth
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 moreimpl Copy for ChannelHealth
Source§impl Debug for ChannelHealth
impl Debug for ChannelHealth
impl Eq for ChannelHealth
Source§impl PartialEq for ChannelHealth
impl PartialEq for ChannelHealth
Source§fn eq(&self, other: &ChannelHealth) -> bool
fn eq(&self, other: &ChannelHealth) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ChannelHealth
Auto Trait Implementations§
impl Freeze for ChannelHealth
impl RefUnwindSafe for ChannelHealth
impl Send for ChannelHealth
impl Sync for ChannelHealth
impl Unpin for ChannelHealth
impl UnsafeUnpin for ChannelHealth
impl UnwindSafe for ChannelHealth
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