pub enum Exposure {
Local,
Domain(String),
Public(String),
Named(String),
}Expand description
How this node will be reached.
Variants§
Local
Loopback. No certificate, because none is needed and none is possible: nobody outside can reach it, which is the point.
Domain(String)
A name the user already owns, pointing at this box.
Public(String)
A public IPv4 address with no name, wearing a magic-DNS one.
Named(String)
A name the user named outright, for when the magic-DNS provider is rate-limited or unwanted.
Implementations§
Trait Implementations§
impl Eq for Exposure
impl StructuralPartialEq for Exposure
Auto Trait Implementations§
impl Freeze for Exposure
impl RefUnwindSafe for Exposure
impl Send for Exposure
impl Sync for Exposure
impl Unpin for Exposure
impl UnsafeUnpin for Exposure
impl UnwindSafe for Exposure
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