Enum fastly::error::BackendError
source · pub enum BackendError {
EmptyName,
TooLong,
InvalidName,
}
Expand description
Backend
-related errors.
Variants§
EmptyName
The backend name was empty.
TooLong
The backend name was too long.
InvalidName
The backend name contained invalid characters.
Trait Implementations§
source§impl Clone for BackendError
impl Clone for BackendError
source§fn clone(&self) -> BackendError
fn clone(&self) -> BackendError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for BackendError
impl Debug for BackendError
source§impl Display for BackendError
impl Display for BackendError
source§impl Error for BackendError
impl Error for BackendError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl PartialEq<BackendError> for BackendError
impl PartialEq<BackendError> for BackendError
source§fn eq(&self, other: &BackendError) -> bool
fn eq(&self, other: &BackendError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.