pub fn take_host(&mut self) -> HostView<'a> {
        if self.uri.tag.contains(Tag::HOST_TAKEN) {
            component_taken();
        }
        self.inner.uri.tag |= Tag::HOST_TAKEN;

        HostView::from_authority(self)
    }
/// Takes a view of the parsed host subcomponent.
///
/// # Panics
///
/// Panics if the host subcomponent is already taken.
Takes a view of the parsed host subcomponent.
Takes a view of the parsed host subcomponent .
pub fn take_host(&mut self) -> HostView<'a> {
        if self.uri.tag.contains(Tag::HOST_TAKEN) {
            component_taken();
        }
        self.inner.uri.tag |= Tag::HOST_TAKEN;
        HostView::from_authority(self)
    }
pub fn take_host ( & mut self ) -> HostView < ' a > { if self . uri . tag . contains ( Tag :: HOST_TAKEN ) { component_taken ( ) ; } self . inner . uri . tag |= Tag :: HOST_TAKEN ; HostView :: from_authority ( self ) }
Takes a view of the parsed host subcomponent.
Takes a view of the parsed host subcomponent .
&mut self
&mut self
panics
Panics if the host subcomponent is already taken.
Panics if the host subcomponent is already taken .