pub enum Addressing {
Replica,
Url,
}Expand description
How the gateway reaches replicas of a deployment.
Variants§
Replica
The gateway holds one address per replica and picks the replica (local-process, Kubernetes, ECS Fargate, Fly).
Url
One URL per deployment; the platform routes and scales
(Cloud Run, Azure Container Apps, Lambda). release is a no-op.
Trait Implementations§
Source§impl Clone for Addressing
impl Clone for Addressing
impl Copy for Addressing
Source§impl Debug for Addressing
impl Debug for Addressing
Source§impl<'de> Deserialize<'de> for Addressing
impl<'de> Deserialize<'de> for Addressing
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Addressing
Source§impl Hash for Addressing
impl Hash for Addressing
Source§impl PartialEq for Addressing
impl PartialEq for Addressing
Source§impl Serialize for Addressing
impl Serialize for Addressing
impl StructuralPartialEq for Addressing
Auto Trait Implementations§
impl Forget for Addressing
impl Freeze for Addressing
impl Move for Addressing
impl RefUnwindSafe for Addressing
impl Send for Addressing
impl Sync for Addressing
impl Unpin for Addressing
impl UnsafeUnpin for Addressing
impl UnwindSafe for Addressing
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.