Enum floresta_wire::node::PeerStatus
source · pub enum PeerStatus {
Awaiting,
Ready,
Banned,
}
Variants§
Trait Implementations§
source§impl Clone for PeerStatus
impl Clone for PeerStatus
source§fn clone(&self) -> PeerStatus
fn clone(&self) -> PeerStatus
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 PeerStatus
impl Debug for PeerStatus
source§impl<'de> Deserialize<'de> for PeerStatus
impl<'de> Deserialize<'de> for PeerStatus
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<PeerStatus> for PeerStatus
impl PartialEq<PeerStatus> for PeerStatus
source§fn eq(&self, other: &PeerStatus) -> bool
fn eq(&self, other: &PeerStatus) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PeerStatus
impl Serialize for PeerStatus
impl Copy for PeerStatus
impl StructuralPartialEq for PeerStatus
Auto Trait Implementations§
impl RefUnwindSafe for PeerStatus
impl Send for PeerStatus
impl Sync for PeerStatus
impl Unpin for PeerStatus
impl UnwindSafe for PeerStatus
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