Enum veilid_tools::SplitUrlHost
source · pub enum SplitUrlHost {
Hostname(String),
IpAddr(IpAddr),
}Variants§
Implementations§
source§impl SplitUrlHost
impl SplitUrlHost
Trait Implementations§
source§impl Clone for SplitUrlHost
impl Clone for SplitUrlHost
source§fn clone(&self) -> SplitUrlHost
fn clone(&self) -> SplitUrlHost
Returns a copy 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 SplitUrlHost
impl Debug for SplitUrlHost
source§impl Display for SplitUrlHost
impl Display for SplitUrlHost
source§impl FromStr for SplitUrlHost
impl FromStr for SplitUrlHost
source§impl Hash for SplitUrlHost
impl Hash for SplitUrlHost
source§impl Ord for SplitUrlHost
impl Ord for SplitUrlHost
source§fn cmp(&self, other: &SplitUrlHost) -> Ordering
fn cmp(&self, other: &SplitUrlHost) -> 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<SplitUrlHost> for SplitUrlHost
impl PartialEq<SplitUrlHost> for SplitUrlHost
source§fn eq(&self, other: &SplitUrlHost) -> bool
fn eq(&self, other: &SplitUrlHost) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<SplitUrlHost> for SplitUrlHost
impl PartialOrd<SplitUrlHost> for SplitUrlHost
source§fn partial_cmp(&self, other: &SplitUrlHost) -> Option<Ordering>
fn partial_cmp(&self, other: &SplitUrlHost) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl Eq for SplitUrlHost
impl StructuralEq for SplitUrlHost
impl StructuralPartialEq for SplitUrlHost
Auto Trait Implementations§
impl RefUnwindSafe for SplitUrlHost
impl Send for SplitUrlHost
impl Sync for SplitUrlHost
impl Unpin for SplitUrlHost
impl UnwindSafe for SplitUrlHost
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