pub enum PeerConnectAddressType {
LOCAL_SOCKET = 0,
IPV4 = 1,
IPV6 = 2,
TORV2 = 3,
TORV3 = 4,
WEBSOCKET = 5,
}Expand description
[‘Type of connection (torv2/torv3 only if direction is out)’]
Variants§
Trait Implementations§
Source§impl Clone for PeerConnectAddressType
impl Clone for PeerConnectAddressType
Source§fn clone(&self) -> PeerConnectAddressType
fn clone(&self) -> PeerConnectAddressType
Returns a duplicate 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 PeerConnectAddressType
impl Debug for PeerConnectAddressType
Source§impl<'de> Deserialize<'de> for PeerConnectAddressType
impl<'de> Deserialize<'de> for PeerConnectAddressType
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 for PeerConnectAddressType
impl PartialEq for PeerConnectAddressType
Source§impl Serialize for PeerConnectAddressType
impl Serialize for PeerConnectAddressType
Source§impl ToString for PeerConnectAddressType
impl ToString for PeerConnectAddressType
Source§impl TryFrom<i32> for PeerConnectAddressType
impl TryFrom<i32> for PeerConnectAddressType
impl Copy for PeerConnectAddressType
impl Eq for PeerConnectAddressType
impl StructuralPartialEq for PeerConnectAddressType
Auto Trait Implementations§
impl Freeze for PeerConnectAddressType
impl RefUnwindSafe for PeerConnectAddressType
impl Send for PeerConnectAddressType
impl Sync for PeerConnectAddressType
impl Unpin for PeerConnectAddressType
impl UnwindSafe for PeerConnectAddressType
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