pub enum ExposureChange {
Url(String),
Tailscale(String),
Loopback,
}Expand description
An exposure transition for configure. Loopback means “no public route”.
Variants§
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 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