pub struct TailscaleConfig {
pub binary_path: PathBuf,
pub hostname: String,
pub state_dir: String,
pub auth_key: Option<String>,
pub ephemeral: Option<bool>,
pub tags: Option<Vec<String>>,
}Expand description
Configuration for creating a TailscaleProvider.
Fields§
§binary_path: PathBufPath to the Go sidecar binary.
hostname: StringHostname for the tsnet node (e.g., “truffle-cli-{uuid}”).
state_dir: StringState directory for tsnet persistent state.
auth_key: Option<String>Optional Tailscale auth key for headless authentication.
ephemeral: Option<bool>Whether the node is ephemeral (removed when offline).
ACL tags to advertise (e.g., [“tag:truffle”]).
Trait Implementations§
Source§impl Clone for TailscaleConfig
impl Clone for TailscaleConfig
Source§fn clone(&self) -> TailscaleConfig
fn clone(&self) -> TailscaleConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 TailscaleConfig
impl RefUnwindSafe for TailscaleConfig
impl Send for TailscaleConfig
impl Sync for TailscaleConfig
impl Unpin for TailscaleConfig
impl UnsafeUnpin for TailscaleConfig
impl UnwindSafe for TailscaleConfig
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