Enum fxa_client::DeviceCapability
source · pub enum DeviceCapability {
SendTab,
}
Expand description
A “capability” offered by a device.
In the FxA ecosystem, connected devices may advertize their ability to respond to various “commands” that can be invoked by other devices. The details of executing these commands are encapsulated as part of the FxA Client component, so consumers simply need to select which ones they want to support, and can use the variants of this enum to do so.
In practice, the only currently-supported command is the ability to receive a tab.
Variants§
SendTab
Trait Implementations§
source§impl Debug for DeviceCapability
impl Debug for DeviceCapability
source§impl From<Capability> for DeviceCapability
impl From<Capability> for DeviceCapability
source§fn from(cap: Capability) -> Self
fn from(cap: Capability) -> Self
Converts to this type from the input type.
source§impl From<DeviceCapability> for Capability
impl From<DeviceCapability> for Capability
source§fn from(cap: DeviceCapability) -> Self
fn from(cap: DeviceCapability) -> Self
Converts to this type from the input type.