pub enum GetPeerInfoResultConnectionType {
OutboundFullRelay,
BlockRelayOnly,
Inbound,
Manual,
AddrFetch,
Feeler,
}
Variants
OutboundFullRelay
BlockRelayOnly
Inbound
Manual
AddrFetch
Feeler
Trait Implementations
sourceimpl Clone for GetPeerInfoResultConnectionType
impl Clone for GetPeerInfoResultConnectionType
sourcefn clone(&self) -> GetPeerInfoResultConnectionType
fn clone(&self) -> GetPeerInfoResultConnectionType
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<'de> Deserialize<'de> for GetPeerInfoResultConnectionType
impl<'de> Deserialize<'de> for GetPeerInfoResultConnectionType
sourcefn 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
sourceimpl PartialEq<GetPeerInfoResultConnectionType> for GetPeerInfoResultConnectionType
impl PartialEq<GetPeerInfoResultConnectionType> for GetPeerInfoResultConnectionType
sourcefn eq(&self, other: &GetPeerInfoResultConnectionType) -> bool
fn eq(&self, other: &GetPeerInfoResultConnectionType) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
impl Copy for GetPeerInfoResultConnectionType
impl Eq for GetPeerInfoResultConnectionType
impl StructuralEq for GetPeerInfoResultConnectionType
impl StructuralPartialEq for GetPeerInfoResultConnectionType
Auto Trait Implementations
impl RefUnwindSafe for GetPeerInfoResultConnectionType
impl Send for GetPeerInfoResultConnectionType
impl Sync for GetPeerInfoResultConnectionType
impl Unpin for GetPeerInfoResultConnectionType
impl UnwindSafe for GetPeerInfoResultConnectionType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more