pub enum ExposureRequest {
Loopback,
Url(String),
Tailscale(String),
}Expand description
How a service should be exposed when installed.
Variants§
Loopback
Url(String)
A concrete URL, classified by hostname into internal/public.
Tailscale(String)
A pre-derived *.ts.net URL (the caller resolved the tailnet identity).
Trait Implementations§
Source§impl Clone for ExposureRequest
impl Clone for ExposureRequest
Source§fn clone(&self) -> ExposureRequest
fn clone(&self) -> ExposureRequest
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 ExposureRequest
impl Debug for ExposureRequest
Source§impl Default for ExposureRequest
impl Default for ExposureRequest
Source§fn default() -> ExposureRequest
fn default() -> ExposureRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ExposureRequest
impl<'de> Deserialize<'de> for ExposureRequest
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 ExposureRequest
Source§impl PartialEq for ExposureRequest
impl PartialEq for ExposureRequest
Source§fn eq(&self, other: &ExposureRequest) -> bool
fn eq(&self, other: &ExposureRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ExposureRequest
impl Serialize for ExposureRequest
impl StructuralPartialEq for ExposureRequest
Auto Trait Implementations§
impl Freeze for ExposureRequest
impl RefUnwindSafe for ExposureRequest
impl Send for ExposureRequest
impl Sync for ExposureRequest
impl Unpin for ExposureRequest
impl UnsafeUnpin for ExposureRequest
impl UnwindSafe for ExposureRequest
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