pub enum Toolset {
Show 20 variants
LocalStatus,
LocalPrefs,
LocalServe,
LocalFiles,
LocalLock,
LocalDebug,
LocalPassthrough,
TailnetDevices,
TailnetInvites,
TailnetLogging,
TailnetDns,
TailnetKeys,
TailnetPolicy,
TailnetPosture,
TailnetUsers,
TailnetSettings,
TailnetWebhooks,
TailnetServices,
TailnetOauthApps,
TailnetOrg,
}Expand description
A named group of tools switched on or off together.
Kept as an enum rather than a string so that a preset cannot name a toolset that does not exist, and so that adding a toolset forces every preset to be reconsidered.
Variants§
LocalStatus
LocalPrefs
LocalServe
LocalFiles
LocalLock
LocalDebug
LocalPassthrough
TailnetDevices
TailnetInvites
TailnetLogging
TailnetDns
TailnetKeys
TailnetPolicy
TailnetPosture
TailnetUsers
TailnetSettings
TailnetWebhooks
TailnetServices
TailnetOauthApps
TailnetOrg
Implementations§
Source§impl Toolset
impl Toolset
Sourcepub const ALL: &'static [Toolset]
pub const ALL: &'static [Toolset]
Every toolset, in listing order. Adding a variant without adding it here
is caught by all_is_exhaustive, which is a test and so cannot be linked
from documentation built without cfg(test).
Trait Implementations§
impl Copy for Toolset
impl Eq for Toolset
Source§impl Ord for Toolset
impl Ord for Toolset
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for Toolset
impl PartialOrd for Toolset
impl StructuralPartialEq for Toolset
Auto Trait Implementations§
impl Freeze for Toolset
impl RefUnwindSafe for Toolset
impl Send for Toolset
impl Sync for Toolset
impl Unpin for Toolset
impl UnsafeUnpin for Toolset
impl UnwindSafe for Toolset
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.