pub fn as_cow(&self) -> Option<std::borrow::Cow<'_, str>> {
        match *self {
            CookieDomain::HostOnly(ref s) | CookieDomain::Suffix(ref s) => {
                Some(std::borrow::Cow::Borrowed(s))
            }
            CookieDomain::Empty | CookieDomain::NotPresent => None,
        }
    }
/// Get a borrowed string representation of the domain. For `Empty` and `NotPresent` variants,
/// `None` shall be returned;
Get a borrowed string representation of the domain.
Get a borrowed string representation of the domain .
pub fn as_cow(&self) -> Option<std::borrow::Cow<'_, str>> {
        match *self {
            CookieDomain::HostOnly(ref s) | CookieDomain::Suffix(ref s) => {
                Some(std::borrow::Cow::Borrowed(s))
            }
            CookieDomain::Empty | CookieDomain::NotPresent => None,
        }
    }
pub fn as_cow ( & self ) -> Option < std :: borrow :: Cow < ' _ , str > > { match * self { CookieDomain :: HostOnly ( ref s ) | CookieDomain :: Suffix ( ref s ) => { Some ( std :: borrow :: Cow :: Borrowed ( s ) ) } CookieDomain :: Empty | CookieDomain :: NotPresent => None , } }
Get a borrowed string representation of the domain.
Get a borrowed string representation of the domain .
&self