pub struct Backend { /* private fields */ }
Expand description
A named backend.
This represents a backend associated with a service that we can send requests to, potentially caching the responses received.
Implementations
Get a backend by its name.
This function will return a BackendError
if an invalid name was given.
Backend names:
- cannot be empty
- cannot be longer than 255 characters
- cannot ASCII control characters such as
'\n'
orDELETE
. - cannot contain special Unicode characters
- should only contain visible ASCII characters or spaces
Future versions of this function may return an error if your service does not have a backend with this name.
Turn the backend into its name as a string.
Trait Implementations
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for Backend
impl UnwindSafe for Backend
Blanket Implementations
Mutably borrows from an owned value. Read more