pub struct AWDLDnsName<I> {
pub labels: I,
pub domain: AWDLDnsCompression,
}
Expand description
A hostname combined with the domain.
Fields§
§labels: I
The labels of the peer.
domain: AWDLDnsCompression
The domain in compressed form.
Trait Implementations§
Source§impl<I: Clone> Clone for AWDLDnsName<I>
impl<I: Clone> Clone for AWDLDnsName<I>
Source§fn clone(&self) -> AWDLDnsName<I>
fn clone(&self) -> AWDLDnsName<I>
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<I: Debug> Debug for AWDLDnsName<I>
impl<I: Debug> Debug for AWDLDnsName<I>
Source§impl<I: Default> Default for AWDLDnsName<I>
impl<I: Default> Default for AWDLDnsName<I>
Source§fn default() -> AWDLDnsName<I>
fn default() -> AWDLDnsName<I>
Returns the “default value” for a type. Read more
Source§impl<'a, I> Display for AWDLDnsName<I>
impl<'a, I> Display for AWDLDnsName<I>
Source§impl<I: Hash> Hash for AWDLDnsName<I>
impl<I: Hash> Hash for AWDLDnsName<I>
Source§impl<'a, I> MeasureWith<()> for AWDLDnsName<I>
impl<'a, I> MeasureWith<()> for AWDLDnsName<I>
Source§fn measure_with(&self, ctx: &()) -> usize
fn measure_with(&self, ctx: &()) -> usize
How large is
Self
, given the ctx
?Source§impl<'a, LhsIterator, RhsIterator> PartialEq<AWDLDnsName<RhsIterator>> for AWDLDnsName<LhsIterator>where
LhsIterator: IntoIterator<Item = AWDLStr<'a>> + Clone,
RhsIterator: IntoIterator<Item = AWDLStr<'a>> + Clone,
impl<'a, LhsIterator, RhsIterator> PartialEq<AWDLDnsName<RhsIterator>> for AWDLDnsName<LhsIterator>where
LhsIterator: IntoIterator<Item = AWDLStr<'a>> + Clone,
RhsIterator: IntoIterator<Item = AWDLStr<'a>> + Clone,
Source§impl<'a> TryFromCtx<'a> for AWDLDnsName<ReadLabelIterator<'a>>
impl<'a> TryFromCtx<'a> for AWDLDnsName<ReadLabelIterator<'a>>
Source§impl<'a, I> TryIntoCtx for AWDLDnsName<I>where
I: IntoIterator<Item = AWDLStr<'a>>,
impl<'a, I> TryIntoCtx for AWDLDnsName<I>where
I: IntoIterator<Item = AWDLStr<'a>>,
impl<I: Copy> Copy for AWDLDnsName<I>
impl<'a, I: IntoIterator<Item = AWDLStr<'a>> + Clone> Eq for AWDLDnsName<I>
Auto Trait Implementations§
impl<I> Freeze for AWDLDnsName<I>where
I: Freeze,
impl<I> RefUnwindSafe for AWDLDnsName<I>where
I: RefUnwindSafe,
impl<I> Send for AWDLDnsName<I>where
I: Send,
impl<I> Sync for AWDLDnsName<I>where
I: Sync,
impl<I> Unpin for AWDLDnsName<I>where
I: Unpin,
impl<I> UnwindSafe for AWDLDnsName<I>where
I: UnwindSafe,
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