pub enum UnifiedTransportAddr {
Tcp(SmolStr, u16),
Unix(PathBuf),
TcpTls(SmolStr, u16, ServerName),
UnixTls(PathBuf, ServerName),
}
Variants§
Trait Implementations§
Source§impl Clone for UnifiedTransportAddr
impl Clone for UnifiedTransportAddr
Source§fn clone(&self) -> UnifiedTransportAddr
fn clone(&self) -> UnifiedTransportAddr
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 Param<UnifiedTransportAddr> for Key
impl Param<UnifiedTransportAddr> for Key
fn param(&self) -> UnifiedTransportAddr
Auto Trait Implementations§
impl Freeze for UnifiedTransportAddr
impl RefUnwindSafe for UnifiedTransportAddr
impl Send for UnifiedTransportAddr
impl Sync for UnifiedTransportAddr
impl Unpin for UnifiedTransportAddr
impl UnwindSafe for UnifiedTransportAddr
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