pub struct TailscaleUpBuilder { /* private fields */ }Expand description
A tailscale setup invocation being assembled — see Sandbox::tailscale_up.
Implementations§
Source§impl TailscaleUpBuilder
impl TailscaleUpBuilder
Sourcepub fn authkey(self, authkey: impl Into<String>) -> Self
pub fn authkey(self, authkey: impl Into<String>) -> Self
A tailnet auth key — forwarded as the TS_AUTHKEY env var, kept off
the argument list so it never lands in a process listing.
Sourcepub fn arg(self, arg: impl Into<String>) -> Self
pub fn arg(self, arg: impl Into<String>) -> Self
Append a raw extra argument to the setup call.
Sourcepub fn run(self) -> Result<ExecResult>
pub fn run(self) -> Result<ExecResult>
Run the setup; a non-zero exit is an error.
Trait Implementations§
Source§impl Clone for TailscaleUpBuilder
impl Clone for TailscaleUpBuilder
Source§fn clone(&self) -> TailscaleUpBuilder
fn clone(&self) -> TailscaleUpBuilder
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 moreAuto Trait Implementations§
impl Freeze for TailscaleUpBuilder
impl RefUnwindSafe for TailscaleUpBuilder
impl Send for TailscaleUpBuilder
impl Sync for TailscaleUpBuilder
impl Unpin for TailscaleUpBuilder
impl UnsafeUnpin for TailscaleUpBuilder
impl UnwindSafe for TailscaleUpBuilder
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