pub enum ExposureChange {
Url(String),
Tailscale(String),
Loopback,
}Expand description
Exposure transition. Loopback means “no public route” (the install’s
equivalent of dropping --url and --tailscale).
Variants§
Url(String)
Caddy-routed public URL. Internal vs. Public is auto-classified
from the hostname by Exposure::from_url.
Tailscale(String)
Tailscale Service exposure. The caller must pre-derive the URL
from the system’s tailnet identity (<svc>-<host>.<tailnet>).
Loopback
Loopback-only (no Caddy route, no Tailscale Service).
Trait Implementations§
Source§impl Clone for ExposureChange
impl Clone for ExposureChange
Source§fn clone(&self) -> ExposureChange
fn clone(&self) -> ExposureChange
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ExposureChange
impl Debug for ExposureChange
Source§impl<'de> Deserialize<'de> for ExposureChange
impl<'de> Deserialize<'de> for ExposureChange
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 ExposureChange
Source§impl From<ExposureChange> for ExposureChange
impl From<ExposureChange> for ExposureChange
Source§fn from(e: ExposureChange) -> Self
fn from(e: ExposureChange) -> Self
Converts to this type from the input type.
Source§impl From<ExposureChange> for ExposureChange
impl From<ExposureChange> for ExposureChange
Source§fn from(e: ExposureChange) -> Self
fn from(e: ExposureChange) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ExposureChange
impl PartialEq for ExposureChange
Source§fn eq(&self, other: &ExposureChange) -> bool
fn eq(&self, other: &ExposureChange) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ExposureChange
impl Serialize for ExposureChange
impl StructuralPartialEq for ExposureChange
Auto Trait Implementations§
impl Freeze for ExposureChange
impl RefUnwindSafe for ExposureChange
impl Send for ExposureChange
impl Sync for ExposureChange
impl Unpin for ExposureChange
impl UnsafeUnpin for ExposureChange
impl UnwindSafe for ExposureChange
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.