pub enum Placement {
Open,
InsideExisting {
if_index: u32,
alias: String,
desc: String,
},
WaitExitTun,
}Variants§
Open
Traffic to C2 leaves through a physical adapter: a dedicated adapter may be created.
InsideExisting
Traffic to C2 already rides another tunnel: run WG in userspace inside it, no adapter.
WaitExitTun
Nested mode is locked but no tunnel carries traffic right now: wait.
Trait Implementations§
impl Eq for Placement
impl StructuralPartialEq for Placement
Auto Trait Implementations§
impl Freeze for Placement
impl RefUnwindSafe for Placement
impl Send for Placement
impl Sync for Placement
impl Unpin for Placement
impl UnsafeUnpin for Placement
impl UnwindSafe for Placement
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