pub enum Posture {
Local,
Exposed,
}Expand description
How far this process is exposed.
Derived from arguments and not selectable by the user — there is no option to choose a posture, and there should not be one. What has already been chosen (tunnel, relay, bind address) determines the posture, and the posture determines the security defaults.
Variants§
Local
Reachable only from this machine. No reason to narrow the defaults.
Exposed
Reachable from other machines — one or more of: tunnel, relay, or non-loopback bind.
Trait Implementations§
impl Copy for Posture
impl Eq for Posture
impl StructuralPartialEq for Posture
Auto Trait Implementations§
impl Freeze for Posture
impl RefUnwindSafe for Posture
impl Send for Posture
impl Sync for Posture
impl Unpin for Posture
impl UnsafeUnpin for Posture
impl UnwindSafe for Posture
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