Skip to main content

link_hostname

Function link_hostname 

Source
pub fn link_hostname(
    link_hostname: &[&str],
) -> Result<(), SearchGuildMessagesError>
Expand description

Ensure a list of link hostnames is correct.

ยงErrors

Returns an error of type LinkHostnameCount if the number of link hostname entries is invalid.

Returns an error of type LinkHostnameEntryLength if one of the link hostname entries has an invalid length.