pub enum WatchCapability {
Health,
Location,
Mic,
VendorReport,
}Expand description
Watch-sensitive provider capability classes.
Variants§
Health
Health and biometric worn streams.
Location
GPS and route worn streams.
Mic
Raw microphone audio.
VendorReport
Vendor diagnostics, off unless explicitly granted.
Implementations§
Source§impl WatchCapability
impl WatchCapability
Sourcepub fn local_name(self) -> &'static str
pub fn local_name(self) -> &'static str
Stable local token after the watch/ prefix.
Sourcepub fn capability_name(self) -> CapabilityName
pub fn capability_name(self) -> CapabilityName
Kernel capability value.
Sourcepub fn grant_symbol(self) -> Symbol
pub fn grant_symbol(self) -> Symbol
Visible consent grant symbol.
Trait Implementations§
Source§impl Clone for WatchCapability
impl Clone for WatchCapability
Source§fn clone(&self) -> WatchCapability
fn clone(&self) -> WatchCapability
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 moreimpl Copy for WatchCapability
Source§impl Debug for WatchCapability
impl Debug for WatchCapability
impl Eq for WatchCapability
Source§impl PartialEq for WatchCapability
impl PartialEq for WatchCapability
impl StructuralPartialEq for WatchCapability
Auto Trait Implementations§
impl Freeze for WatchCapability
impl RefUnwindSafe for WatchCapability
impl Send for WatchCapability
impl Sync for WatchCapability
impl Unpin for WatchCapability
impl UnsafeUnpin for WatchCapability
impl UnwindSafe for WatchCapability
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