pub struct Destination { /* private fields */ }Trait Implementations§
Source§impl Clone for Destination
impl Clone for Destination
Source§fn clone(&self) -> Destination
fn clone(&self) -> Destination
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 Destination
impl Debug for Destination
Source§impl Display for Destination
impl Display for Destination
Source§impl From<&String> for Destination
impl From<&String> for Destination
Source§impl From<&str> for Destination
impl From<&str> for Destination
Source§impl From<SocketAddr> for Destination
impl From<SocketAddr> for Destination
Source§fn from(addr: SocketAddr) -> Self
fn from(addr: SocketAddr) -> Self
Converts to this type from the input type.
Source§impl From<String> for Destination
impl From<String> for Destination
Source§impl From<Vec<SocketAddr>> for Destination
impl From<Vec<SocketAddr>> for Destination
Source§fn from(addrs: Vec<SocketAddr>) -> Self
fn from(addrs: Vec<SocketAddr>) -> Self
Converts to this type from the input type.
Source§impl Hash for Destination
impl Hash for Destination
Source§impl Ord for Destination
impl Ord for Destination
Source§fn cmp(&self, other: &Destination) -> Ordering
fn cmp(&self, other: &Destination) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for Destination
impl PartialEq for Destination
Source§impl PartialOrd for Destination
impl PartialOrd for Destination
impl Eq for Destination
impl StructuralPartialEq for Destination
Auto Trait Implementations§
impl Freeze for Destination
impl RefUnwindSafe for Destination
impl Send for Destination
impl Sync for Destination
impl Unpin for Destination
impl UnwindSafe for Destination
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.