pub enum PpaassProtocolUnifyAddress {
Socket(SocketAddr),
Domain(String, u16),
}Variants§
Socket(SocketAddr)
Domain(String, u16)
Trait Implementations§
Source§impl Clone for PpaassProtocolUnifyAddress
impl Clone for PpaassProtocolUnifyAddress
Source§fn clone(&self) -> PpaassProtocolUnifyAddress
fn clone(&self) -> PpaassProtocolUnifyAddress
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PpaassProtocolUnifyAddress
impl Debug for PpaassProtocolUnifyAddress
Source§impl<'de> Deserialize<'de> for PpaassProtocolUnifyAddress
impl<'de> Deserialize<'de> for PpaassProtocolUnifyAddress
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 Display for PpaassProtocolUnifyAddress
impl Display for PpaassProtocolUnifyAddress
Source§impl From<SocketAddr> for PpaassProtocolUnifyAddress
impl From<SocketAddr> for PpaassProtocolUnifyAddress
Source§fn from(value: SocketAddr) -> Self
fn from(value: SocketAddr) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PpaassProtocolUnifyAddress
impl RefUnwindSafe for PpaassProtocolUnifyAddress
impl Send for PpaassProtocolUnifyAddress
impl Sync for PpaassProtocolUnifyAddress
impl Unpin for PpaassProtocolUnifyAddress
impl UnwindSafe for PpaassProtocolUnifyAddress
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)