pub trait Host {
type HostItem<'a>: TextOrPet<HOST_UE>
where
Self: 'a;
type HostIter<'a>: Clone + IntoIterator<Item = Self::HostItem<'a>>
where
Self: 'a;
fn as_ref(&self) -> HostRef<'_, Self::HostItem<'_>, Self::HostIter<'_>>;
fn format_uri_host(&self, w: &mut impl Write) -> Result { ... }
fn equals(&self, other: &impl Host) -> bool { ... }
}Expand description
The host copmoonent of a CRI, which may take one of the three shapes of HostRef.
It is only present in a CRI that has an authority component.