pub enum RemoteHost {
Ip(IpAddr),
Name(FastStr),
}Available on crate feature
client only.Expand description
Remote address of RemoteTarget
Variants§
Trait Implementations§
Source§impl Clone for RemoteHost
impl Clone for RemoteHost
Source§fn clone(&self) -> RemoteHost
fn clone(&self) -> RemoteHost
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 RemoteHost
impl Debug for RemoteHost
Auto Trait Implementations§
impl !Freeze for RemoteHost
impl RefUnwindSafe for RemoteHost
impl Send for RemoteHost
impl Sync for RemoteHost
impl Unpin for RemoteHost
impl UnwindSafe for RemoteHost
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