Enum fastly::experimental::BackendCreationError
source · [−]pub enum BackendCreationError {
ConnectTimeoutTooLarge(Duration),
FirstByteTimeoutTooLarge(Duration),
BetweenBytesTimeoutTooLarge(Duration),
Disallowed,
HostError(FastlyStatus),
EncodingError(FromUtf8Error),
NameTooLong(String),
NameInUse,
}
Expand description
Errors that can arise from attempting to create a dynamic backend.
Perhaps the most critical of these is Disallowed
, which will occur
if your service is not permitted to use dynamic backends.
Variants
ConnectTimeoutTooLarge(Duration)
Timeouts for backends must be less than 2^32 milliseconds, or about a month and a half.
FirstByteTimeoutTooLarge(Duration)
Timeouts for backends must be less than 2^32 milliseconds, or about a month and a half.
BetweenBytesTimeoutTooLarge(Duration)
Timeouts for backends must be less than 2^32 milliseconds, or about a month and a half.
Disallowed
This service is not allowed to create dynamic backends.
If you’d like to use dynamic backends, please contact your Fastly sales agent.
HostError(FastlyStatus)
Something internal went wrong with the service at runtime; you may be able to do something to react to this information.
This value is identical to the values underlying FastlyStatus
.
EncodingError(FromUtf8Error)
There was a problem converting the new name from the host into
something we could turn into a Rust String
.
Please check the prefix you provided, if you provided one, and make sure it’s reasonable.
NameTooLong(String)
The backend name provided was too long; please keep it to <255 characters.
NameInUse
The backend name is already in use.
Trait Implementations
sourceimpl Clone for BackendCreationError
impl Clone for BackendCreationError
sourcefn clone(&self) -> BackendCreationError
fn clone(&self) -> BackendCreationError
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
source
. Read more