Skip to main content

validate_hostname

Function validate_hostname 

Source
pub fn validate_hostname(hostname: Option<&str>) -> TypesResult<()>
Expand description

Validate an optional explicit guest hostname before it is forwarded to the guest agent.