#[repr(i32)]pub enum RedundancyState {
None = 0,
Primary = 1,
Secondary = 2,
Both = 3,
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for RedundancyState
impl Clone for RedundancyState
Source§fn clone(&self) -> RedundancyState
fn clone(&self) -> RedundancyState
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 RedundancyState
Source§impl Debug for RedundancyState
impl Debug for RedundancyState
Source§impl Display for RedundancyState
impl Display for RedundancyState
impl Eq for RedundancyState
Source§impl From<RedundancyState> for i32
impl From<RedundancyState> for i32
Source§fn from(s: RedundancyState) -> i32
fn from(s: RedundancyState) -> i32
Converts to this type from the input type.
Source§impl From<RedundancyState> for &'static str
impl From<RedundancyState> for &'static str
Source§fn from(s: RedundancyState) -> &'static str
fn from(s: RedundancyState) -> &'static str
Converts to this type from the input type.
Source§impl From<i32> for RedundancyState
impl From<i32> for RedundancyState
Source§impl PartialEq for RedundancyState
impl PartialEq for RedundancyState
Source§fn eq(&self, other: &RedundancyState) -> bool
fn eq(&self, other: &RedundancyState) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RedundancyState
Auto Trait Implementations§
impl Freeze for RedundancyState
impl RefUnwindSafe for RedundancyState
impl Send for RedundancyState
impl Sync for RedundancyState
impl Unpin for RedundancyState
impl UnsafeUnpin for RedundancyState
impl UnwindSafe for RedundancyState
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