Enum bindings::zaun::bot::http::HttpError
zaun_bot::bindings::zaun::bot::http::HttpError · Enum
pub enum HttpError { … }Variants
Section titled “Variants”NotGranted(String)
Section titled “NotGranted(String)”The host (or host:port) is not in the bot’s network or local_network grant,
or not in the operator’s ceiling.
RefusedAddress
Section titled “RefusedAddress”The name resolved to a loopback, private, link-local or reserved address, and the
address is not a local_network grant.
InvalidUrl
Section titled “InvalidUrl”Malformed, or not https:// (http:// only for local_network addresses).
Timeout
Section titled “Timeout”TooLarge
Section titled “TooLarge”Transport(String)
Section titled “Transport(String)”Trait implementations
Section titled “Trait implementations”Clone, Debug, Display, Error