[][src]Enum fxa_client::msg_types::account_event::AccountEventType

#[repr(i32)]pub enum AccountEventType {
    IncomingDeviceCommand,
    ProfileUpdated,
    DeviceConnected,
    AccountAuthStateChanged,
    DeviceDisconnected,
    AccountDestroyed,
}

Variants

IncomingDeviceCommand

data set to device_command.

ProfileUpdated
DeviceConnected

data set to device_connected_name.

AccountAuthStateChanged
DeviceDisconnected

data set to device_disconnected_data.

AccountDestroyed

Implementations

impl AccountEventType[src]

pub fn is_valid(value: i32) -> bool[src]

Returns true if value is a variant of AccountEventType.

pub fn from_i32(value: i32) -> Option<AccountEventType>[src]

Converts an i32 to a AccountEventType, or None if value is not a valid variant.

Trait Implementations

impl Clone for AccountEventType[src]

impl Copy for AccountEventType[src]

impl Debug for AccountEventType[src]

impl Default for AccountEventType[src]

impl Eq for AccountEventType[src]

impl From<AccountEventType> for i32[src]

impl Hash for AccountEventType[src]

impl Ord for AccountEventType[src]

impl PartialEq<AccountEventType> for AccountEventType[src]

impl PartialOrd<AccountEventType> for AccountEventType[src]

impl StructuralEq for AccountEventType[src]

impl StructuralPartialEq for AccountEventType[src]

Auto Trait Implementations

impl RefUnwindSafe for AccountEventType

impl Send for AccountEventType

impl Sync for AccountEventType

impl Unpin for AccountEventType

impl UnwindSafe for AccountEventType

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> CallHasher for T where
    T: Hash

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,