pub enum TelemetryPolicy {
LocalOnly,
}Expand description
Telemetry policy for Index diagnostics.
Variants§
LocalOnly
Diagnostics stay local and are never transmitted by core crates.
Implementations§
Source§impl TelemetryPolicy
impl TelemetryPolicy
Sourcepub const fn allows_network_transmission(self) -> bool
pub const fn allows_network_transmission(self) -> bool
Returns whether the policy permits automatic network transmission.
Trait Implementations§
Source§impl Clone for TelemetryPolicy
impl Clone for TelemetryPolicy
Source§fn clone(&self) -> TelemetryPolicy
fn clone(&self) -> TelemetryPolicy
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 moreSource§impl Debug for TelemetryPolicy
impl Debug for TelemetryPolicy
Source§impl PartialEq for TelemetryPolicy
impl PartialEq for TelemetryPolicy
Source§fn eq(&self, other: &TelemetryPolicy) -> bool
fn eq(&self, other: &TelemetryPolicy) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for TelemetryPolicy
impl Eq for TelemetryPolicy
impl StructuralPartialEq for TelemetryPolicy
Auto Trait Implementations§
impl Freeze for TelemetryPolicy
impl RefUnwindSafe for TelemetryPolicy
impl Send for TelemetryPolicy
impl Sync for TelemetryPolicy
impl Unpin for TelemetryPolicy
impl UnsafeUnpin for TelemetryPolicy
impl UnwindSafe for TelemetryPolicy
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